Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
To: supmua <supmua@googlegroups.com>
Subject: Re: [sup] Sign all emails by default
Date: Wed, 01 Apr 2015 19:48:54 +0200	[thread overview]
Message-ID: <1427910254-sup-359@kpad> (raw)
In-Reply-To: <1427899057-sup-9268@vegeta>

[-- 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 --]

  reply	other threads:[~2015-04-01 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 14:38 Alfredo Palhares
2015-04-01 17:48 ` Matthieu Rakotojaona [this message]
2015-04-02 22:59   ` [sup] " Alfredo Palhares

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427910254-sup-359@kpad \
    --to=matthieu.rakotojaona@gmail.com \
    --cc=supmua@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox