LedgerHQ / app-openpgp

OpenPGP Card Application
Apache License 2.0
123 stars 21 forks source link

pgp #20

Closed eightsixeight closed 6 years ago

eightsixeight commented 6 years ago

can these keys be used as a veracrypt device to unlock an encrypted drive ?

drdaeman commented 6 years ago

Don't think so. I don't think this app implements PIV to the extent of being able to store arbitrary data.

TrueCrypt/VeraCrypt actually treats tokens as glorified flash drives with PIN protection (or whatever), by putting a file on them, and then fetching it back. To the extent I've read into code of this app (which is just a little bit), it seems that it only does cryptographic operations and does not implement any form of protected storage for arbitrary data objects.

I could be wrong, though.

I suppose what you can (theoretically) do, is to keep a PGP-encrypted keyfile on your machine, and then somehow make GnuPG decrypt it using Ledger and pipe the decrypted data to VeraCrypt's CLI.

cslashm commented 6 years ago

No PIV yet, If you have any tool to test PIV card please contact me.