From: Ruthard Baudach <ruthard.baudach@web.de>
To: supmua <supmua@googlegroups.com>
Subject: sig-output hook
Date: Thu, 30 Oct 2014 09:39:19 +0100 [thread overview]
Message-ID: <1414658312-sup-3756@ruthard-lappi> (raw)
[-- 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 --]
next reply other threads:[~2014-10-30 8:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-30 8:39 Ruthard Baudach [this message]
2014-10-30 8:54 ` [sup] " Gaute Hope
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=1414658312-sup-3756@ruthard-lappi \
--to=ruthard.baudach@web.de \
--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