From 6c77d5dbe6ddbab63fe8cc2e59da770d7f90564e Mon Sep 17 00:00:00 2001 From: Adam Monsen Date: Sun, 12 Jan 2025 06:43:45 -0800 Subject: [PATCH] ensure newline is expanded echo from GNU coreutils requires -e to interpret backslash escape sequences without this, the encrypted file contains `\ntest message` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fcd054e..4272b34 100644 --- a/README.md +++ b/README.md @@ -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 ```