I would like to implement a token solution for USB devices.
So I need to encrypt a token with a private key and use the public key to decrypt it. So far so good. The problem comes from the fact that I want to access the token without the key being mounted (under linux or windows). I tried to use labels and UUID volumes but you are quickly limited in number of characters and encoding and moreover the formats change according to the type of key.
Do you have any ideas?
I need to implement the token solution on keys that are already used as storage devices. I also need to be able to read the token on a windows machine. The Ljm Dullaart solution is very good but works only on Linux.