Guest User

Untitled

a guest
Nov 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $ gpg2 --export-secret-keys --no-armor 84E2C2E5 > secret.key
  2. $ openssl rsautl -sign -in testfile -inkey secret.key -out test.sign
  3.  
  4. gpg2 --export-secret-keys
  5. --export-options export-reset-subkey-passwd,export-minimal,no-export-attributes
  6. --no-armor 84E2C2E5 | openpgp2ssh 84E2C2E5 > id_rsa
  7.  
  8. gpg2 --sign document.doc
Add Comment
Please, Sign In to add comment