Nitrokey / nitrokey-start-firmware

A mirror of Gnuk's 1.0.x and 1.2.x branches.
56 stars 15 forks source link

Idea: multiple identities #27

Closed szszszsz closed 4 years ago

szszszsz commented 4 years ago

Provide a way to simulate multiple OpenPGP 2.x cards on the device. Could be a workaround for #22.

cc @alex-nitrokey

szszszsz commented 4 years ago

Mentioned commit triples the user storage, leaving 3kB for firmware changes.

alex-nitrokey commented 4 years ago

Mh, I would say the best approach would be to support and implement the MANAGE SECURITY ENVIRONMENT (MSE) feature of OpenPGP Card v3.3 specification. This way, OpenSC would just work as in real OpenPGP Cards. I am not sure if the approach above would work in OpenSC, but I guess it could get really messy.

In the end it can get more and more difficult to get Gnu/Start devices supported by software if they do not stick to the specification imho. So best case would be to support all changes of OpenPGP Card v3.3 or none.

Having admin-less PIN usage and ECC independent of any specification has already caused some problems, although these are desirable features.

szszszsz commented 4 years ago

Merged to main branch with #33. To be tested.