From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 299304484864 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,e1d96d53089cf3a1 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.112.147.131 with SMTP id tk3mr2676922lbb.2.1414659232583; Thu, 30 Oct 2014 01:53:52 -0700 (PDT) X-BeenThere: supmua@googlegroups.com Received: by 10.152.8.68 with SMTP id p4ls304564laa.52.gmail; Thu, 30 Oct 2014 01:53:52 -0700 (PDT) X-Received: by 10.112.142.36 with SMTP id rt4mr2621312lbb.3.1414659232173; Thu, 30 Oct 2014 01:53:52 -0700 (PDT) Return-Path: Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by gmr-mx.google.com with ESMTPS id sg7si40433lbb.1.2014.10.30.01.53.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 01:53:51 -0700 (PDT) Received-SPF: none (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) client-ip=209.85.217.180; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: eg@gaute.vetsj.com does not designate permitted sender hosts) smtp.mail=eg@gaute.vetsj.com Received: by mail-lb0-f180.google.com with SMTP id z12so3816462lbi.25 for ; Thu, 30 Oct 2014 01:53:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:references:in-reply-to :user-agent:message-id:mime-version:content-type :content-transfer-encoding; bh=N1NYPjAaeU/otXRmp2kV/xyyamvs518sPqQHmc2Oxdw=; b=RiKPqH/p33JGdq5m8QIrL1f/2oZTlPa/FK1S8poc7EQf8BLFQNYpZVytEds9BuXlaB IL3mfGlAv5PWfoW8qpxy99+BdZ31xaZeJidpns48BJKf6C1wCotC9hcPSe5hkulJ/sWw M7PrFNC0Y3c6DXzbZ2wmEinWWEIt6/hijVocGL4iEEhjYAJuetzaFS0E8991u0MLe6UT 2cZG2uq3vzIk2US9b5pSaJ5pL0m6r9jWkfyfcM9fEjj8O/VDAalfvQJXFticLV66kJA9 N65gCSoTjtCWsprGaOi3MPxo/G9xfHO9QCBI4G9W2kF18uMLlvN61sLONqy1TVWweM6u Sggg== X-Gm-Message-State: ALoCoQl/eeVLLavzNx7l0/Qv3ona4s576JiUx3fzPZR477qzh3Nsgw9LqIeaYVmMQxrK+mFwW6+Y X-Received: by 10.152.1.130 with SMTP id 2mr17193216lam.89.1414659231435; Thu, 30 Oct 2014 01:53:51 -0700 (PDT) Return-Path: Received: from localhost ([128.39.46.106]) by mx.google.com with ESMTPSA id e3sm2949851lam.26.2014.10.30.01.53.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 01:53:50 -0700 (PDT) Date: Thu, 30 Oct 2014 08:54:03 +0000 From: Gaute Hope Subject: Re: [sup] sig-output hook To: supmua , Ruthard Baudach References: <1414658312-sup-3756@ruthard-lappi> In-Reply-To: <1414658312-sup-3756@ruthard-lappi> User-Agent: astroid/v068eda5e (https://github.com/gauteh/astroid) Message-Id: <1414659119-astroid-2-eyq7db51z1-2157@strange> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Excerpts from Ruthard Baudach's message of October 30, 2014 9:39: >=20 > Playing with the possibilities of sup's hooks, I stumbled over the > sig-output hook. If I am not mistaken, signature has to meanings: >=20 > a) the signature block :=3D 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. >=20 > If I am not mistaken, the sig-output hook seems to apply to the > signature type b)? >=20 > If so, it might be clarifying to change the description to: >=20 > ---------------------->%---------------------- > 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. >=20 > Variables: > signature: the signature object (class is GPGME::Signature) > from_key: the key that generated the signature (class is GPGME::Key) >=20 > 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 =