Skip to content

Conversation

@Blarse
Copy link
Contributor

@Blarse Blarse commented Feb 1, 2024

Note that not all Rutoken ECP tokens support rsa 4096 keys, but it is impossible to distinguish them from those that do.

The rsa_prop[] data looks like an exponent encoded in ASN.1, but changing it does not produce key with specified exponent. Without this data rutoken generates malformed rsa:4096 key.

Checklist
  • Documentation is added or updated
  • New files have a LGPL 2.1 license statement
  • PKCS#11 module is tested
  • Windows minidriver is tested
  • macOS tokend is tested

Note that not all Rutoken ECP tokens support rsa 4096 keys,
but it is impossible to distinguish them from those that do.

The rsa_prop[] data looks like an exponent encoded in ASN.1,
but changing it does not produce key with specified exponent.
Without this data rutoken generates malformed rsa:4096 key.

Signed-off-by: Egor Ignatov <[email protected]>
@Blarse
Copy link
Contributor Author

Blarse commented Feb 6, 2024

Hi,

This is my first contribution to OpenSC.
CI failures look unrelated, is there anything else I need to do to get this merged?

@Jakuje
Copy link
Member

Jakuje commented Feb 6, 2024

Thank you! No more actions needed. We just left it for other members to review. Given there are no other concerns, I am merging this and it will be in the next release.

@Jakuje Jakuje merged commit 5bd9e78 into OpenSC:master Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants