sending automated GPG signed mails from batch job

Matthias Apitz guru at unixarea.de
Tue May 21 15:57:00 UTC 2024


El día martes, mayo 21, 2024 a las 10:49:08a. m. +0200, Nicolas George escribió:

> Matthias Apitz (12024-05-21):
> > How could we expand this for signing mails on the fly?
> 
> Hi.
> 
> ...
> 
> - Ditch GPG. GPG has been increasingly incapable of deciding if it is a
>   high-level tool or a low-level tool and batch operation has become
>   increasingly hard or impossible. Instead, you can use Sequoia / sq, a
>   low-level tool suitable for automation.

I do use GnuPG based on OpenPGP SIM cards even in my Linux telephone
(Pusim L5) for crypting files, ~350 passwords (password-store) and SSH
connections (the RSA secret is on the OpenPGP card). All works fine and
gives access to the secrets by entering a 6 digit PIN:

                     ┌──────────────────────────────────────────────┐
                     │ Please unlock the card                       │
                     │                                              │
                     │ Number: 0005 0000A6FE                        │
                     │ Holder: Matthias Apitz                       │
                     │                                              │
                     │ PIN ________________________________________ │
                     │                                              │
                     │      <OK>                        <Cancel>    │
                     └──────────────────────────────────────────────┘


The problem with any automation, anyway if with GnuPG or not, is how to
enter the passphrase or PIN to get access to the private key.

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.


More information about the Mutt-users mailing list