Discussion:
[sup] Sign all emails by default
Alfredo Palhares
2015-04-01 14:38:52 UTC
Permalink
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
--
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/1427899057-sup-9268%40vegeta.
For more options, visit https://groups.google.com/d/optout.
Matthieu Rakotojaona
2015-04-01 17:48:54 UTC
Permalink
Post by Alfredo Palhares
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.
--
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/1427910254-sup-359%40kpad.
For more options, visit https://groups.google.com/d/optout.
Alfredo Palhares
2015-04-02 22:59:52 UTC
Permalink
Hello Mathieu,
Post by Matthieu Rakotojaona
$ 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
--
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/1428015512-sup-4107%40vegeta.
For more options, visit https://groups.google.com/d/optout.
Loading...