Gnus development mailing list
 help / color / mirror / Atom feed
* gpgsm: smime, various secret keys, mml2015-sign-with-sender for smime
@ 2013-01-05 14:28 Uwe Brauer
  2013-01-07  4:06 ` Daiki Ueno
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2013-01-05 14:28 UTC (permalink / raw)
  To: ding


Hello


I started to use smime, via xemacs, gnus, epg and gpgsm. [1]

I have 3 accounts, one for work two private ones. I obtained free
certificates  from www.comodo.com.

Now gpgsm chooses the secret key for signing,  either as

    -  the first which is listed by gpsm -list-secret-keys

    -  a default one, which can be configured in gpsm.conf 

    -  the one specified by the senders address via the command.

gpgsm -su oub.oub.oub@gmail.com --armor < test > ciphertext4 

However it seems not to be possible to configure gpgsm (via the
gpgsm.con file) such that it chooses the relevant secret keys according
to the email address of the sender.  

 (user-mail-address)





And that is why it should be implemented in lisp. Daiko Ueno, the author
of epg, also referred to the mml2015-sign-with-sender function, but this
function is, as I understand it correctly, only for gpg.

So can such a function be implemented for smime please?[2]

Thanks 

Uwe Brauer 

Footnotes:
[1]  I used gpg, but most of the people I correspondence considered it
     as to user unfriendly.


[2]  like 

(defvar gpgsm-signing-command "/usr/bin/gpgsm -su %s --armor < %s > %s")




   (let ((secret-key-id user-mail-address)
   		  (cleartext some-mail-text)
          (cipertext (make-temp-file (expand-file-name "cipertext" temporary-file-directory) nil ".asc")))
                 	  (shell-command
                      	   (format gpgsm-signing-command
                           		   secret-key-id
                                   cleartext
                                   cipertext)))





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

end of thread, other threads:[~2013-01-07 22:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-05 14:28 gpgsm: smime, various secret keys, mml2015-sign-with-sender for smime Uwe Brauer
2013-01-07  4:06 ` Daiki Ueno
2013-01-07 19:57   ` Uwe Brauer
2013-01-07 22:01     ` Daiki Ueno
2013-01-07 22:16       ` Uwe Brauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).