1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Miles Bader
31a7c2ff1f Merge from gnus--rel--5.10
Patches applied:

 * gnus--rel--5.10  (patch 134-135)

   - Merge from emacs--devo--0
   - Update from CVS

2006-09-06  Daiki Ueno  <ueno@unixuser.org>

   * lisp/pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with
   pgg-passphrase-coding-system rather than locale-coding-system.
   * lisp/pgg-def.el (pgg-passphrase-coding-system): New user option.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-428
2006-09-07 05:58:54 +00:00
Miles Bader
8fbdffe57a Merge from gnus--rel--5.10
Patches applied:

 * gnus--rel--5.10  (patch 131-133)

   - Update from CVS

2006-09-05  Daiki Ueno  <ueno@unixuser.org>

   * lisp/pgg.el (pgg-clear-string): Alias to clear-string for backward
   compatibility.

   * lisp/pgg-gpg.el (pgg-gpg-process-region): Avoid display blinking with
   inhibit-redisplay; encode passphrase with locale-coding-system.

2006-09-04  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-art.el (article-decode-encoded-words): Make it fast.

2006-09-04  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-art.el (article-decode-encoded-words): Don't infloop in XEmacs.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-424
2006-09-05 08:17:35 +00:00
Miles Bader
d709390421 Merge from gnus--rel--5.10
Patches applied:

 * gnus--rel--5.10  (patch 129-130)

   - Merge from emacs--devo--0
   - Update from CVS

2006-09-04  Daiki Ueno  <ueno@unixuser.org>

   * lisp/pgg-gpg.el (pgg-gpg-process-region): Revert two patches from Satyaki
   Das.  http://article.gmane.org/gmane.emacs.gnus.general/49947
   http://article.gmane.org/gmane.emacs.gnus.general/50457

2006-09-04  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/rfc2047.el (rfc2047-strip-backslashes-in-quoted-strings): Decode `\\'
   in quoted string into `\'.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-421
2006-09-04 06:27:27 +00:00
Reiner Steib
60c6189d0d Revert to 2006-03-23T13:13:27Z!jas@extundo.com to allow the use of gpg-agent. 2006-04-07 21:06:12 +00:00
Romain Francoise
30ceaa687f 2006-04-06 Romain Francoise <romain@orebokech.com>
* pgg-gpg.el: Sync back with Gnus 5.10, reverting changes that add
	symmetric encryption features and a new asynchronous interface to
	GnuPG.  This new version is version 1.4, plus whitespace changes.
2006-04-06 18:01:16 +00:00
Simon Josefsson
39a270b10c 2006-04-05 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): Wait
	for BEGIN_SIGNING too, new in GnuPG 1.4.3.
2006-04-05 11:00:11 +00:00
Simon Josefsson
cddfe50b49 2006-03-29 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el (pgg-gpg-start-process): Don't bind
	default-enable-multibyte-characters.  This reverts the change from
	revision 6.17 which is no longer necessary because the passphrase
	is sent separately now.  GnuPG messages are unreadable under
	multibyte locales with default-enable-multibyte-characters set to
	nil.
2006-04-04 23:30:03 +00:00
Simon Josefsson
bd707233ea 2006-04-04 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el: Clean up process buffers every time gpg processes
	complete.
2006-04-04 10:34:03 +00:00
Simon Josefsson
7db4c10a8a 2006-04-03 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el (pgg-gpg-process-filter)
	(pgg-gpg-wait-for-completion): Check if buffer is alive.

	* pgg-gpg.el (pgg-gpg-process-sentinel): Don't remove GNUPG:
	lines, temporary fix.
2006-04-03 09:12:08 +00:00
Simon Josefsson
276e274075 2006-03-27 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for
	passphrases when it is not needed.
	(pgg-gpg-use-agent): Add, to hard code that pgg shouldn't wait for
	passphrase stuff from gpg, should only be necessary when you use
	gpg with a smartcard.
2006-03-27 09:36:18 +00:00
Simon Josefsson
de82e530c7 2006-03-23 Reiner Steib <reinersteib+gmane@imap.cc>
* pgg-gpg.el (pgg-gpg-update-agent): Check for
	make-network-process, so we can use the same code in Gnus v5-10
	too and have this file fully synchronized with that release.
2006-03-23 13:13:27 +00:00
Simon Josefsson
4803386d1c 2006-03-22 Simon Josefsson <jas@extundo.com>
* pgg-gpg.el (pgg-gpg-use-agent): Disable by default.
	(pgg-gpg-update-agent): New function.
	(pgg-gpg-use-agent-p): New function.
	(pgg-gpg-process-region, pgg-gpg-encrypt-region)
	(pgg-gpg-encrypt-symmetric-region, pgg-gpg-decrypt-region)
	(pgg-gpg-sign-region): Use it.
2006-03-22 16:09:16 +00:00
Reiner Steib
7b97a7a56c Sync with version from Gnus (only whitespace changes). 2006-03-21 21:24:27 +00:00
Simon Josefsson
e563e53b5c 2006-03-21 Simon Josefsson <jas@extundo.com>
* pgg-gpg.el: Ideas below based on patch from Sascha Wilde
	<wilde@sha-bang.de>.
	(pgg-gpg-use-agent): New variable.
	(pgg-gpg-process-region): Use it.
	(pgg-gpg-encrypt-region): Likewise.
	(pgg-gpg-encrypt-symmetric-region): Likewise.
	(pgg-gpg-decrypt-region): Likewise.
	(pgg-gpg-sign-region): Likewise.
	(pgg-gpg-possibly-cache-passphrase): Don't cache a nil password.
2006-03-21 14:27:05 +00:00
Miles Bader
3412804220 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-62
Merge from gnus--rel--5.10

Patches applied:

 * gnus--rel--5.10  (patch 22-26)

   - Update from CVS
   - Merge from emacs--devo--0
2006-02-10 05:08:29 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Eli Zaretskii
df570e6fe2 (pgg-gpg-select-matching-key): Fixed: look at the right part of the
decoded armor to find the key-identifier.
(pgg-gpg-lookup-key-owner): New function to return the
human-readable identifier of a key owner.
(pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the
key itself.
(pgg-gpg-decrypt-region): Prompt with the key owner (rather
than the key value) if we have a key and can match it against a
secret key.  Also, added an XXX note pointing out fact that the
prompt only indicates the first matching key.
(pgg-pgp-encrypt-region)
(pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric)
(pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt)
(pgg-pgp-sign-region, pgg-pgp-sign): Add optional 'passphrase'
argument to all these routines, so the passphrase can be managed
externally and passed in to the system.
(pgg-gpg-possibly-cache-passphrase): Add optional
'notruncate' argument, so the passphrase cache can be used
reliably with identifiers besides a pgp packet's key id.
(pgg-gpg-encrypt-symmetric-region): New function for
symmetric encryption.
(pgg-gpg-symmetric-key-p): New function to check for an symmetric
encrypted session key.
(pgg-gpg-decrypt-region): When decrypting a symmetric encrypted
message ask for the passphrase in a proper way.
2005-10-29 11:31:08 +00:00
Eli Zaretskii
ad1fd53533 Moved pgg*.el files from lisp/gnus to lisp. 2005-10-24 09:46:27 +00:00