I am new to secure USB and have what may be a basic question.
I am trying to use Nitrokey as a type of master key that would enable application feature(s) when inserted in a USB port. I need to store something on the Nitrokey device that would not be easily replicatable that I can use to authenticate that this Nitrokey was not created by an adversary.
Perhaps I can store a [RSA] private key on the Nitrokey and a set of public keys in my app. I can then encrypt a test file using a public key and try to decrypt it with Nitrokey.
Will this work?
Are there examples of doing something similar?
Thank you very much!