mirror of
https://github.com/drduh/YubiKey-Guide.git
synced 2025-04-18 08:14:22 +02:00
ensure newline is expanded
echo from GNU coreutils requires -e to interpret backslash escape sequences without this, the encrypted file contains `\ntest message`
This commit is contained in:
parent
219423db05
commit
6c77d5dbe6
1 changed files with 1 additions and 1 deletions
|
@ -1074,7 +1074,7 @@ YubiKey is now ready for use!
|
|||
Encrypt a message to yourself (useful for storing credentials or protecting backups):
|
||||
|
||||
```console
|
||||
echo "\ntest message string" | \
|
||||
echo -e "\ntest message string" | \
|
||||
gpg --encrypt --armor \
|
||||
--recipient $KEYID --output encrypted.txt
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue