Skip to content

Conversation

vmiklos
Copy link
Contributor

@vmiklos vmiklos commented May 7, 2018

Two fixes for the ECDSA support in the NSS backend.

vmiklos added 2 commits May 3, 2018 20:40
This test started to fail when 2ae6192
(MS CNG: adopt trusted certificate (lsh123#141), 2018-01-15) fixed the typo in
the test to require ecdsa key data.

The implementation was there, just not the registration.

Testcase: aleksey-xmldsig-01/enveloping-sha256-ecdsa-sha256
The condition is now consistent with the RSA getter. In practice this
fixes a crash when using libxmlsec via its API and setting only the
private key (but not the public key) for signing -- as
SECKEY_GetPublicKeyType(NULL) is not safe.

Bugreport: https://bugs.documentfoundation.org/show_bug.cgi?id=109180
@lsh123 lsh123 merged commit 3489911 into lsh123:master May 7, 2018
@vmiklos vmiklos deleted the nss-ecdsa-updates branch May 8, 2018 13:26
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.

2 participants