Repository navigation
PIV: Add support for RSA 2048 private key import - #721
Conversation
3f4e47d to
681550b
Compare
robin-nitrokey
left a comment
There was a problem hiding this comment.
Looks good but I think we should reduce the duplication with the other commands.
681550b to
3dae81b
Compare
Other algorithm are still not supported in firmware
3dae81b to
48a60c0
Compare
9342349 to
3af416f
Compare
|
in reference to my #715 : this should be done more generic instead of fixing on rsa2048 |
|
Currently only RSA2048 is supported in the firmware of the Nitrokey 3 for key import. |
|
So I just build the branch as a package on Arch with the following PKGBUILD: After I installed it I tried the feature like this: That fails with: I'm by no means an expert with this stuff, but I assume its caused by the fact that there is no option to specify the PKCS#12 password ('test')? See also here Looking at the PR code I see this code: So there is no way to pass a password to the PKCS#12 load operation. I think it would make sense to add one. Some other remarks: |
|
I also tried to bundle the PKCS#12 file without a password: But that fails during import with: Not sure it is relevant, but: |
|
According to source the firmware meanwhile gained RSA-4096 support (as well as RSA-3072) - though to slot 9D only (why?!). Anyway, would be nice if nitropy would follow up on that. PS: The restriction of importing RSA keys only into slot 9D also appears to apply to RSA-2048. Still/Again: why? |
Other algorithm are still not supported in firmware