* Sign all emails by default @ 2015-04-01 14:38 Alfredo Palhares 2015-04-01 17:48 ` [sup] " Matthieu Rakotojaona 0 siblings, 1 reply; 3+ messages in thread From: Alfredo Palhares @ 2015-04-01 14:38 UTC (permalink / raw) To: supmua [-- Attachment #1: Type: text/plain, Size: 196 bytes --] Hello fellow sup users, How do I configure sup to sign all emails by default? Regards, -- Alfredo Palhares GPG/PGP Key Fingerprint 68FC B06A 6C22 8B9B F110 38D6 E8F7 4D1F 0763 CAAD [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup] Sign all emails by default 2015-04-01 14:38 Sign all emails by default Alfredo Palhares @ 2015-04-01 17:48 ` Matthieu Rakotojaona 2015-04-02 22:59 ` Alfredo Palhares 0 siblings, 1 reply; 3+ messages in thread From: Matthieu Rakotojaona @ 2015-04-01 17:48 UTC (permalink / raw) To: supmua [-- Attachment #1: Type: text/plain, Size: 726 bytes --] Excerpts from Alfredo Palhares's message of 2015-04-01 15:38:52 +0100: > Hello fellow sup users, > > How do I configure sup to sign all emails by default? > > Regards, > > -- > Alfredo Palhares > GPG/PGP Key Fingerprint > 68FC B06A 6C22 8B9B F110 > 38D6 E8F7 4D1F 0763 CAAD > Hey Alfredo, There is no setting for this, however there is a crypto-mode hook that is run when you start editing message. In order to answer your question I just wrote this: $ cat /path/to/hooks/crypto-mode.rb crypto_selector.set_to(:sign) if crypto_selector.can_set_to?(:sign) This automatically selects the :sign if it is possible. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 343 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup] Sign all emails by default 2015-04-01 17:48 ` [sup] " Matthieu Rakotojaona @ 2015-04-02 22:59 ` Alfredo Palhares 0 siblings, 0 replies; 3+ messages in thread From: Alfredo Palhares @ 2015-04-02 22:59 UTC (permalink / raw) To: supmua Hello Mathieu, > $ cat /path/to/hooks/crypto-mode.rb > crypto_selector.set_to(:sign) if crypto_selector.can_set_to?(:sign) > > This automatically selects the :sign if it is possible. Thanks ! this was what I was looking for. -- Alfredo Palhares GPG/PGP Key Fingerprint 68FC B06A 6C22 8B9B F110 38D6 E8F7 4D1F 0763 CAAD ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-02 22:59 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-04-01 14:38 Sign all emails by default Alfredo Palhares 2015-04-01 17:48 ` [sup] " Matthieu Rakotojaona 2015-04-02 22:59 ` Alfredo Palhares
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox