@@ -24,40 +24,39 @@ Creating a key pair
2424
2525 $ minisign -G
2626
27- The public key is put into the ` minisign.pub ` file, and the secret key
28- into the ` minisign.key ` file.
27+ The public key is printed and put into the ` minisign.pub ` file. The secret key
28+ is encrypted and saved as ` minisign.key ` file.
2929
3030Signing a file
3131--------------
3232
33- $ minisign -S -m myfile.txt
33+ $ minisign -Sm myfile.txt
3434
3535Or to include a comment in the signature, that will be verified and
3636displayed when verifying the file:
3737
38- $ minisign -S -m myfile.txt -t 'This comment will be signed as well'
38+ $ minisign -Sm myfile.txt -t 'This comment will be signed as well'
3939
4040The signature is put into ` myfile.txt.minisig ` .
4141
4242Verifying a file
4343----------------
4444
45- $ minisign -V -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3 -m myfile.txt
45+ $ minisign -Vm myfile.txt -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3
4646
4747or
4848
49- $ minisign -V -p signature.pub -m myfile.txt
49+ $ minisign -Vm myfile.txt -p signature.pub
5050
5151This requires the signature ` myfile.txt.minisig ` to be present in the same
5252directory.
53- The public key can either reside in a file (` ./minisign.pub ` by
54- default) or can be directly specified on the command line.
53+
54+ The public key can either reside in a file (` ./minisign.pub ` by default) or be
55+ directly specified on the command line.
5556
5657Usage
5758-----
5859
59-
60-
6160 $ minisign -G [-p pubkey] [-s seckey]
6261 $ minisign -S [-x sigfile] [-s seckey] [-c untrusted_comment] [-t trusted_comment] -m file
6362 $ minisign -V [-x sigfile] [-p pubkeyfile | -P pubkey] [-q] -m file
0 commit comments