You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: certificate-chain is invalid, invalid self-signed certificate. Error: certificate with subject "CN=xx.com,O=Notary,L=xx,ST=CA,C=US": key usage must not have the bit positions for ContentCommitment, KeyEncipherment, DataEncipherment, KeyAgreement, CertSign, CRLSign, EncipherOnly, DecipherOnly set
If the certificate has more key usages than DigitalSignature, the error message will display all the other key usages. However, this can be confusing if the user didn't set those key usages.
What did you expect to happen?
The error message should either state that there should be only one DigitalSignature key usage or mention the specific key usages that the certificate actually has and should not exist, instead of all of them.
How can we reproduce it?
sign with a certificate that has unnecessary key usages
Describe your environment
Linux
What is the version of your notation-core-go Library?
v1.0.0
The text was updated successfully, but these errors were encountered:
What is not working as expected?
If the certificate has more key usages than DigitalSignature, the error message will display all the other key usages. However, this can be confusing if the user didn't set those key usages.
What did you expect to happen?
The error message should either state that there should be only one DigitalSignature key usage or mention the specific key usages that the certificate actually has and should not exist, instead of all of them.
How can we reproduce it?
sign with a certificate that has unnecessary key usages
Describe your environment
Linux
What is the version of your notation-core-go Library?
v1.0.0
The text was updated successfully, but these errors were encountered: