containers / ocicrypt

Encryption libraries for Encrypted OCI Container images
Apache License 2.0
133 stars 31 forks source link

pkcs11: PCT-encode the keyid when displaying in error message #40

Closed stefanberger closed 3 years ago

stefanberger commented 3 years ago

Currently an error message displaying the key id may display binary data. Since the keyid is typically PCT-encoded in the URI we should display it in this format.

Signed-off-by: Stefan Berger stefanb@linux.ibm.com