Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkcs11: provide key file format to openssl (#486)
When built under Debian-11, the following error appears: ``` ++ echo secret ++ clevis decrypt ++ clevis encrypt pkcs11 '{"uri":"pkcs11:module-path=/usr/lib/softhsm/libsofthsm2.so?pin-value=123456","mechanism":"RSA-PKCS"}' unable to load Public Key Unable to encrypt JWK with PKCS#11 public key ``` Fix this by telling the key file format (DER) to OpenSSL. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
- Loading branch information