To sign an email with a given private key:
$ gpg --clearsign --local-user 0xKeyId doc
$ gpg --list-only msg.asc
gpg --list-packets file
Sign a key: gpg --sign-key
Remove the signature of key:
gpg --edit-key user-id
> minimize
To sign an email with a given private key:
$ gpg --clearsign --local-user 0xKeyId doc
$ gpg --list-only msg.asc
gpg --list-packets file
Sign a key: gpg --sign-key
Remove the signature of key:
gpg --edit-key user-id
> minimize