help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling gpg encrypt inside mixed-text-file


From: Reza Housseini
Subject: Calling gpg encrypt inside mixed-text-file
Date: Fri, 14 Oct 2022 10:40:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1

Hi list

In a system configuration I won't to add a password file from a gpg encrypted file in the following manner:

(service radicale-service-type
                              (radicale-configuration
                               (config-file (mixed-text-file "radicale.conf" "
[auth]
type = htpasswd
htpasswd_filename = " (local-file "my-password.gpg ") "
htpasswd_encryption = plain
"))))

This obviously does not work, but how would I achieve to call gpg --decrypt --quiet inside the mixed-text-file?

Best

--
Reza Housseini

This message is signed with my GnuPG key:

    C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

Attachment: OpenPGP_0xC375C6AF05125C52.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]