Skip to content

Commit a107da4

Browse files
committed
Formatting
1 parent 20511d6 commit a107da4

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

3030
Signing a file
3131
--------------
3232

33-
$ minisign -S -m myfile.txt
33+
$ minisign -Sm myfile.txt
3434

3535
Or to include a comment in the signature, that will be verified and
3636
displayed 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

4040
The signature is put into `myfile.txt.minisig`.
4141

4242
Verifying a file
4343
----------------
4444

45-
$ minisign -V -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3 -m myfile.txt
45+
$ minisign -Vm myfile.txt -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3
4646

4747
or
4848

49-
$ minisign -V -p signature.pub -m myfile.txt
49+
$ minisign -Vm myfile.txt -p signature.pub
5050

5151
This requires the signature `myfile.txt.minisig` to be present in the same
5252
directory.
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

5657
Usage
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

Comments
 (0)