Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java card communication example/test #38

Open
atok opened this issue Nov 21, 2015 · 0 comments
Open

Java card communication example/test #38

atok opened this issue Nov 21, 2015 · 0 comments

Comments

@atok
Copy link

atok commented Nov 21, 2015

Yubikey NEO was my first contact with Smart Cards. I bought it, registered U2F wherever it's accepted and was looking for a way to encrypt some data with it. But incorporating this functionality in a Java application is a surprisingly hard task.

The tests were of some help but they don't get you very far. The general practice seems to be to call gpg and let it do the job.

Is there a chance you could include a full cycle example:
encrypt the data with Java (bouncy castle?) and then decrypt it with the Yubikey NEO using javax.smartcardio APIs ?

Here is the result of me trying to do it:
http://stackoverflow.com/questions/33841380/pgp-data-encryption-for-use-with-yubico-openpgp-smart-card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant