Update README with passphrase autogeneration

This commit is contained in:
Jack Grigg 2020-01-04 00:43:41 -05:00
parent 3d549a7822
commit bc8a63b726
No known key found for this signature in database
GPG key ID: 9E8255172BBF9898

View file

@ -45,12 +45,14 @@ $ rage -o example.png.age -r age1uvscypafkkxt6u2gkguxet62cenfmnpc0smzzlyun0lzszf
### Passphrases
Files can be encrypted with a passphrase by using `-p/--passphrase`.
Files can be encrypted with a passphrase by using `-p/--passphrase`. By default
rage will automatically generate a secure passphrase.
```bash
$ rage -p -o example.png.age example.png
Type passphrase: [hidden]
Confirm passphrase:
Type passphrase (leave empty to autogenerate a secure one): [hidden]
Using an autogenerated passphrase:
kiwi-general-undo-bubble-dwarf-dizzy-fame-side-sunset-sibling
$ rage -d -p example.png.age >example.png
Type passphrase: [hidden]
```