blob: 48b1b9340f47ff1a7bceb8668c9c656968a193a1 (
plain) (
tree)
|
|
#!/bin/sh -
. ./environment.sh
set -x
openssl dgst -sha256 -keyform ENGINE -engine pkcs11 -sign label_boris -out message.sig message.txt
openssl verify -CAfile leader.cer boris.cer
openssl x509 -noout -in boris.cer -pubkey |
openssl dgst -sha256 -verify /dev/stdin -signature message.sig message.txt
|