Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
* sig-output hook
@ 2014-10-30  8:39 Ruthard Baudach
  2014-10-30  8:54 ` [sup] " Gaute Hope
  0 siblings, 1 reply; 2+ messages in thread
From: Ruthard Baudach @ 2014-10-30  8:39 UTC (permalink / raw)
  To: supmua

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]


Playing with the possibilities of sup's hooks, I stumbled over the
sig-output hook. If I am not mistaken, signature has to meanings:

a) the signature block := text attached to the body of an message,
   containing information on whatever the sender wants to inform
   everybody (s)he is mailing to.
b) the cryptographic PGP/smime signature of the message ensuring the
   identity of the sender.

If I am not mistaken, the sig-output hook seems to apply to the
signature type b)?

If so, it might be clarifying to change the description to:

---------------------->%----------------------
sig-output
----------
File: /home/ruthard/.sup/hooks/sig-output.rb
Runs when the PGP signature output is being generated, allowing you to
add extra information to your signatures if you want.

Variables:
signature: the signature object (class is GPGME::Signature)
from_key: the key that generated the signature (class is GPGME::Key)

Return value: an array of lines of output
---------------------->%----------------------


Yours, Ruthard

----

Emails bitte verschlüsseln und signieren.
Meine PGP-Id: AC5AC6C2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sup] sig-output hook
  2014-10-30  8:39 sig-output hook Ruthard Baudach
@ 2014-10-30  8:54 ` Gaute Hope
  0 siblings, 0 replies; 2+ messages in thread
From: Gaute Hope @ 2014-10-30  8:54 UTC (permalink / raw)
  To: supmua, Ruthard Baudach

Excerpts from Ruthard Baudach's message of October 30, 2014 9:39:
> 
> Playing with the possibilities of sup's hooks, I stumbled over the
> sig-output hook. If I am not mistaken, signature has to meanings:
> 
> a) the signature block := text attached to the body of an message,
>    containing information on whatever the sender wants to inform
>    everybody (s)he is mailing to.
> b) the cryptographic PGP/smime signature of the message ensuring the
>    identity of the sender.
> 
> If I am not mistaken, the sig-output hook seems to apply to the
> signature type b)?
> 
> If so, it might be clarifying to change the description to:
> 
> ---------------------->%----------------------
> sig-output
> ----------
> File: /home/ruthard/.sup/hooks/sig-output.rb
> Runs when the PGP signature output is being generated, allowing you to
> add extra information to your signatures if you want.
> 
> Variables:
> signature: the signature object (class is GPGME::Signature)
> from_key: the key that generated the signature (class is GPGME::Key)
> 
> Return value: an array of lines of output
> ---------------------->%----------------------

Thanks,

I'd be happy to accept a patch for this! There are some great tutorials
on how to use git out there (see email from somewhen earlier). That
would contain all the necessary information (e.g. which file to change).

- gaute



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-30  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-30  8:39 sig-output hook Ruthard Baudach
2014-10-30  8:54 ` [sup] " Gaute Hope

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox