https://security.stackexchange.com/questions/273870/openssl-cms-sign-and-verify
openssl cms -verify -nosmimecap -CAfile <rootCA.pem> -in <signature> -content <content> -inform DER -binary| grep Verification
// Truncate 16 bytes
https://stackoverflow.com/questions/60658407/bash-command-to-truncate-bytes-off-end-of-file
// changes original file
truncate -s -16 myfile.json
No comments:
Post a Comment