From 9ff9646b2857b0e25309b6040d8596329b60e33e Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 2 Nov 2023 02:09:38 +0100 Subject: [PATCH] Suggest command to encrypt binary that respect .sopy.aml Based on https://github.com/getsops/sops/issues/594#issuecomment-569132718 and tested locally successful --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d6e45ebe..82a8dbd5 100644 --- a/README.md +++ b/README.md @@ -684,7 +684,8 @@ JSON/YAML files. Unlike the other two formats, for binary files, one file corres To encrypt an binary file use the following command: ``` console -$ sops -e /tmp/krb5.keytab > krb5.keytab +$ cp /etc/krb5/krb5.keytab > krb5.keytab +$ sops -e -o krb5.keytab # an example of what this might result in: $ head krb5.keytab {