This commit is contained in:
@ -35,3 +35,19 @@ can be used.
|
|||||||
|
|
||||||
Make sure to store the passphrase safely and securely in a password manager or so, otherwise you can not get to your data any longer or everyone can do so.
|
Make sure to store the passphrase safely and securely in a password manager or so, otherwise you can not get to your data any longer or everyone can do so.
|
||||||
|
|
||||||
|
|
||||||
|
**Remark**
|
||||||
|
Sometimes, gpg tries to ask for the passphrase via the configured pinentry app, which sometimes fails. In those cases add
|
||||||
|
|
||||||
|
```
|
||||||
|
--pinentry-mode loopback
|
||||||
|
```
|
||||||
|
|
||||||
|
to the commandline:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
gpg --pinentry-mode=loopback --symmetric --cipher-algo AES256 --armor --output secrets.asc secrets.txt
|
||||||
|
|
||||||
|
gpg --pinentry-mode=loopback --decrypt --output secrets.txt secrets.asc
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user