epg-context-signers.
Thanks to Steve Youngs <steve@sxemacs.org>
2006-07-28 Daiki Ueno <ueno@unixuser.org>
+ * epg.el (epg-start-encrypt): Extract primary key ID from
+ epg-context-signers.
+ Thanks to Steve Youngs <steve@sxemacs.org>
+
* pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
give CONTEXT to epg-list-keys.
Thanks to Steve Youngs <steve@sxemacs.org>
(if sign
(cons "--sign"
(apply #'nconc
- (mapcar (lambda (signer)
- (list "-u" signer))
- (epg-context-signers context)))))
+ (mapcar
+ (lambda (signer)
+ (list "-u"
+ (epg-sub-key-id
+ (car (epg-key-sub-key-list
+ signer)))))
+ (epg-context-signers context)))))
(apply #'nconc
(mapcar
(lambda (recipient)