From 3176c111120f05b78ff3bb3375ca9f04baa07c4d Mon Sep 17 00:00:00 2001 From: Aadniz <8147434+Aadniz@users.noreply.github.com> Date: Sat, 21 Sep 2024 22:02:39 +0200 Subject: [PATCH] Minor fix for binary example in README.md `sops -e krb5.keytab` does not encrypt the file, rather it outputs the encrypted data in the console. `>` should be used here to send the data to the file. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 44242ef..291447c 100644 --- a/README.md +++ b/README.md @@ -674,8 +674,7 @@ JSON/YAML files. Unlike the other two formats, for binary files, one file corres To encrypt an binary file use the following command: ``` console -$ cp /etc/krb5/krb5.keytab krb5.keytab -$ sops -e krb5.keytab +$ sops -e /etc/krb5/krb5.keytab > krb5.keytab # an example of what this might result in: $ head krb5.keytab {