ueno [Fri, 26 Nov 1999 06:29:10 +0000 (06:29 +0000)]
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el
(encrypt-region): Refer `pgg-<impl>-user-id' if specified.
(sign-region): Ditto.
(decrypt-region): Ditto.
(insert-key): Ditto.
ueno [Fri, 26 Nov 1999 05:35:27 +0000 (05:35 +0000)]
update.
ueno [Fri, 26 Nov 1999 05:34:27 +0000 (05:34 +0000)]
* mime-edit.el (mime-edit-sign-pgp-mime): Regard
`pgg-default-user-id' as more preferrable if it's specified.
(mime-edit-encrypt-pgp-mime): Ditto.
ueno [Mon, 22 Nov 1999 15:45:00 +0000 (15:45 +0000)]
release.
ueno [Mon, 22 Nov 1999 15:44:02 +0000 (15:44 +0000)]
* semi-def.el (mime-user-interface-product): Bump up to
EMIKO 1.13.8.
ueno [Mon, 22 Nov 1999 15:39:23 +0000 (15:39 +0000)]
update.
ueno [Mon, 22 Nov 1999 15:38:40 +0000 (15:38 +0000)]
* pgg.el (pgg-remove-passphrase-cache): Don't unbind passphrase.
ueno [Sat, 20 Nov 1999 11:44:51 +0000 (11:44 +0000)]
update.
ueno [Sat, 20 Nov 1999 11:44:10 +0000 (11:44 +0000)]
* mime-edit.el (mime-edit-sign-pgp-mime): Bind
`pgg-default-user-id' to the canonical address of From field.
ueno [Sat, 20 Nov 1999 11:43:37 +0000 (11:43 +0000)]
* pgg-def.el (pgg-cache-passphrase): New user option.
* pgg.el (pgg-read-passphrase): Refer `pgg-cache-passphrase'.
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el (sign-region): Refer
`pgg-cache-passphrase'.
ueno [Sat, 20 Nov 1999 10:20:12 +0000 (10:20 +0000)]
Fix header string.
ueno [Sat, 20 Nov 1999 10:18:17 +0000 (10:18 +0000)]
* pgg.el (pgg-remove-passphrase-cache): Fill cached passphrase
with `_'.
yamaoka [Wed, 17 Nov 1999 23:57:36 +0000 (23:57 +0000)]
(mime-display-image): Use `mime-image-normalize-xbm' if the feature `xemacs'
is provided or the variable `image-types' is bound.
(mime-image-normalize-xbm): New macro.
ueno [Sat, 13 Nov 1999 16:20:33 +0000 (16:20 +0000)]
Fix last change.
ueno [Sat, 13 Nov 1999 15:21:37 +0000 (15:21 +0000)]
Fix last change.
ueno [Sat, 13 Nov 1999 15:18:12 +0000 (15:18 +0000)]
fix & update.
ueno [Sat, 13 Nov 1999 15:16:45 +0000 (15:16 +0000)]
* pgg.el (pgg-temp-buffer-show-function): New function.
(pgg-display-output-buffer): Use it.
(pgg-save-coding-system): Use buffer narrowing.
(pgg-encrypt-region, pgg-decrypt-region, pgg-sign-region,
pgg-verify-region): Assume that the current region has already
been narrowed.
ueno [Sat, 13 Nov 1999 13:02:51 +0000 (13:02 +0000)]
update.
ueno [Sat, 13 Nov 1999 13:02:12 +0000 (13:02 +0000)]
* pgg.el (pgg-save-coding-system): New macro.
(pgg-display-output-buffer): New function.
(pgg-encrypt-region): Add documentation string; use
`pgg-save-coding-system'.
(pgg-decrypt-region): Ditto.
(pgg-sign-region): Ditto.
(pgg-verify-region): Ditto.
(pgg-insert-key): Add documentation string.
(pgg-snarf-keys-region): Ditto.
(pgg-fetch-key): Fix documentation.
ueno [Sat, 13 Nov 1999 13:01:55 +0000 (13:01 +0000)]
* pgg-def.el (pgg-default-keyserver-address): Default to
`wwwkeys.pgp.net'.
ueno [Thu, 11 Nov 1999 06:02:18 +0000 (06:02 +0000)]
update.
ueno [Thu, 11 Nov 1999 06:01:10 +0000 (06:01 +0000)]
* pgg-pgp.el, pgg-pgp5.el (verify-region): Set default umask to 077.
ueno [Thu, 11 Nov 1999 05:59:55 +0000 (05:59 +0000)]
* mime-image.el (image-normalize): Use `write-region-as-binary'.
ueno [Wed, 10 Nov 1999 17:06:43 +0000 (17:06 +0000)]
(mime-edit-set-encrypt): Fix typo.
ueno [Wed, 10 Nov 1999 17:00:51 +0000 (17:00 +0000)]
update.
ueno [Wed, 10 Nov 1999 17:00:11 +0000 (17:00 +0000)]
(mime-edit-encrypt-pgp-mime): Encode header before encrypting.
ueno [Wed, 10 Nov 1999 14:57:21 +0000 (14:57 +0000)]
update.
ueno [Wed, 10 Nov 1999 14:56:35 +0000 (14:56 +0000)]
* mime-image.el (image-insert-at-point): Check the number of the
arguments of `insert-image'.
(mime-display-image): Rewrite.
ueno [Wed, 10 Nov 1999 14:56:24 +0000 (14:56 +0000)]
* mime-edit.el (mime-edit-set-sign): Remove duplication.
(mime-edit-set-encrypt): Ditto.
ueno [Wed, 10 Nov 1999 14:55:51 +0000 (14:55 +0000)]
* pgg-gpg.el (pgg-gpg-process-region): Enclose `start-process'
with `as-binary-process'.
* pgg-pgp.el (pgg-pgp-process-region): Enclose `start-process'
with `as-binary-process'.
* pgg-pgp5.el (pgg-pgp5-process-region): Enclose `start-process'
with `as-binary-process'.
yamaoka [Wed, 10 Nov 1999 04:15:53 +0000 (04:15 +0000)]
Sync up with semi-1_13.
ueno [Tue, 9 Nov 1999 03:56:11 +0000 (03:56 +0000)]
undo last change.
ueno [Tue, 9 Nov 1999 03:26:50 +0000 (03:26 +0000)]
Update.
ueno [Tue, 9 Nov 1999 03:26:10 +0000 (03:26 +0000)]
* mime-pgp.el (mime-verify-application/pgp-signature): Don't
convert line break code.
* pgg-gpg.el (verify-region): Convert line break code to CRLF.
ueno [Tue, 9 Nov 1999 03:25:46 +0000 (03:25 +0000)]
* pgg-pgp.el, pgg-pgp5.el
(sign-region): Don't convert line break code.
ueno [Sun, 7 Nov 1999 18:59:02 +0000 (18:59 +0000)]
update.
ueno [Sun, 7 Nov 1999 18:58:06 +0000 (18:58 +0000)]
* mime-pgp.el (mime-verify-application/pgp-signature): Don't
scroll MIME-echo buffer, just set window starting point.
(mime-add-application/pgp-keys): Ditto.
ueno [Sat, 6 Nov 1999 19:03:07 +0000 (19:03 +0000)]
fix.
ueno [Sat, 6 Nov 1999 19:02:24 +0000 (19:02 +0000)]
* pgg.el (pgg-sign-region): Add optional argument `cleartext'.
ueno [Sat, 6 Nov 1999 18:50:32 +0000 (18:50 +0000)]
update.
ueno [Sat, 6 Nov 1999 18:49:15 +0000 (18:49 +0000)]
* mime-ui-en.sgml, mime-ui-ja.sgml: Remove description about
`pgp-functions-alist' and `pgp-function'; add description about
`pgg-default-scheme' and `pgg-scheme'.
* NEWS (PGP 5.0i and GnuPG are now supported for PGP/MIME):
New section.
ueno [Sat, 6 Nov 1999 18:48:13 +0000 (18:48 +0000)]
* mime-edit.el:
(mime-edit-decode-multipart-in-buffer): Sync up with semi-pgpgpg_20.
(mime-edit-decode-message-in-buffer): Ditto.
(mime-edit-decode-single-part-in-buffer): Ditto.
ueno [Sat, 6 Nov 1999 18:47:42 +0000 (18:47 +0000)]
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el (encrypt-region): Add
sender's user id to the recipients list if `pgg-encrypt-for-me' is
specified.
* pgg-def.el (pgg-encrypt-for-me): New user option.
ueno [Sat, 6 Nov 1999 11:55:20 +0000 (11:55 +0000)]
update.
ueno [Sat, 6 Nov 1999 11:54:40 +0000 (11:54 +0000)]
(encrypt-region): Fix last change.
ueno [Sat, 6 Nov 1999 11:52:38 +0000 (11:52 +0000)]
* pgg-gpg.el (sign-region): Use `pgg-as-lbt'.
(pgg-gpg-process-region): Use `pgg-convert-lbt-region'.
(encrypt-region): Don't ask passphrase.
ueno [Sat, 6 Nov 1999 10:42:43 +0000 (10:42 +0000)]
update.
ueno [Sat, 6 Nov 1999 10:41:20 +0000 (10:41 +0000)]
* pgg.el (pgg-verify-region): Bind `pgg-scheme' in the predicate
of whether to fetch signer's public key.
(pgg-convert-lbt-region): New macro.
(pgg-as-lbt): New macro.
ueno [Sat, 6 Nov 1999 10:41:09 +0000 (10:41 +0000)]
* pgg-pgp.el (sign-region): Use `pgg-as-lbt'.
(pgg-gpg-process-region): Use `pgg-convert-lbt-region'.
(encrypt-region): Don't ask passphrase.
* pgg-pgp5.el (sign-region): Use `pgg-as-lbt'.
(pgg-pgp5-process-region): Use `pgg-convert-lbt-region'.
(encrypt-region): Don't ask passphrase.
* pgg-pgp.el (verify-region): Fill errors buffer.
(pgg-pgp-process-region): Use `pgg-convert-lbt-region'.
(sign-region): Use `pgg-as-lbt'.
(encrypt-region): Don't ask passphrase.
ueno [Sat, 6 Nov 1999 10:40:32 +0000 (10:40 +0000)]
* mime-edit.el (mime-edit-encrypt-pgp-mime): Extract canonical
address of From field to use it as default user id; tokenize
bodies of the recipient fields.
(mime-edit-make-encrypt-recipient-header): Undo last change.
(mime-edit-translate-buffer): Do `undo-boundary'
before translating.
ueno [Sat, 6 Nov 1999 03:22:35 +0000 (03:22 +0000)]
update.
ueno [Sat, 6 Nov 1999 03:21:55 +0000 (03:21 +0000)]
* pgg-parse.el (pgg-byte-after): Always pass the first argument
of `char-after'.
ueno [Fri, 5 Nov 1999 22:12:03 +0000 (22:12 +0000)]
update.
ueno [Fri, 5 Nov 1999 22:11:10 +0000 (22:11 +0000)]
* pgg-pgp.el (sign-region): Fix regexp for the beginning of armor.
* pgg-gpg.el (encrypt-region): Don't use "--textmode" in GPG
arguments, replace line break code with CRLF while signing
instead.
ueno [Fri, 5 Nov 1999 20:27:50 +0000 (20:27 +0000)]
update.
ueno [Fri, 5 Nov 1999 20:27:04 +0000 (20:27 +0000)]
* mime-pgp.el (mime-verify-application/pgp-signature): Copy the
messages in PGG buffers to MIME-echo buffer instead of binding
`pgg-output-buffer'.
(mime-add-application/pgp-keys): Likewise.
ueno [Fri, 5 Nov 1999 20:26:55 +0000 (20:26 +0000)]
* pgg-gpg.el (verify-region): Fill errors buffer whether
verification has succeeded or not.
ueno [Fri, 5 Nov 1999 14:03:00 +0000 (14:03 +0000)]
update.
ueno [Fri, 5 Nov 1999 14:01:43 +0000 (14:01 +0000)]
* pgg.el (pgg-encrypt-region): Add autoload cookie.
(pgg-decrypt-region): Ditto.
(pgg-sign-region): Ditto.
(pgg-verify-region): Don't modify the buffer; add autload cookie.
(pgg-snarf-keys-region): Add interactive spec; add autload cookie.
(pgg-insert-key): Add interactive spec; add autload cookie.
ueno [Fri, 5 Nov 1999 14:01:10 +0000 (14:01 +0000)]
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el (snarf-keys-region):
Use `pgg-process-when-success'.
ueno [Fri, 5 Nov 1999 13:41:14 +0000 (13:41 +0000)]
update.
ueno [Fri, 5 Nov 1999 13:40:08 +0000 (13:40 +0000)]
* mime-pgp.el: Add autoload for `pgg-decrypt-region',
`pgg-verify-region', `pgg-snarf-keys-region'.
(mime-view-application/pgp): Don't use `pgp-function'.
(mime-verify-application/pgp-signature): Ditto.
(mime-add-application/pgp-keys): Ditto.
(mime-pgp-command): Abolish.
(mime-pgp-default-language): Abolish.
(mime-pgp-good-signature-regexp-alist): Abolish.
(mime-pgp-key-expected-regexp-alist): Abolish
(mime-pgp-check-signature): Abolish.
* semi-def.el (pgp-function-alist): Abolish.
(pgp-function): Abolish.
* mime-edit.el: Add autoload for `pgg-encrypt-region',
`pgg-sign-region', `pgg-insert-key'.
(mime-edit-sign-pgp-mime): Throw an error when
`pgg-sign-region' returns nil; don't use `pgp-function'.
(mime-edit-encrypt-pgp-mime): Throw an error when
`pgg-encrypt-region' returns nil; don't use `pgp-function'.
(mime-edit-sign-pgp-kazu): Don't use `pgp-function'.
(mime-edit-encrypt-pgp-mime): Ditto.
ueno [Fri, 5 Nov 1999 13:38:03 +0000 (13:38 +0000)]
* pgg-gpg.el (pgg-gpg-shell-command-switch): New user option.
(pgg-gpg-process-region): Bind `shell-command-switch' to the value
of `pgg-gpg-shell-command-switch'.
* pgg-pgp.el (pgg-pgp-shell-command-switch): New user option.
(pgg-pgp-process-region): Bind `shell-command-switch' to the value
of `pgg-pgp-shell-command-switch'.
* pgg-pgp5.el (pgg-pgp5-shell-command-switch): New user option.
(pgg-pgp5-process-region): Bind `shell-command-switch' to the value
of `pgg-pgp5-shell-command-switch'.
* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el (sign-region): Use fixed end
position of the signature.
ueno [Fri, 5 Nov 1999 08:14:01 +0000 (08:14 +0000)]
update.
ueno [Fri, 5 Nov 1999 08:13:22 +0000 (08:13 +0000)]
* pgg.el (pgg-insert-url-with-program): Call program asynchronously.
ueno [Fri, 5 Nov 1999 07:59:07 +0000 (07:59 +0000)]
* mime-pgp.el (mime-add-application/pgp-keys): Don't display
public key block; snarf keys immediately.
ueno [Fri, 5 Nov 1999 07:31:35 +0000 (07:31 +0000)]
(lookup-key-string): Undo last change.
ueno [Fri, 5 Nov 1999 07:12:23 +0000 (07:12 +0000)]
update.
ueno [Fri, 5 Nov 1999 07:11:04 +0000 (07:11 +0000)]
* pgg.el (pgg-process-when-success): New macro.
(pgg-insert-url-with-w3): New function.
(pgg-insert-url-program): New variable.
(pgg-insert-url-extra-arguments): New variable.
(pgg-insert-url-function): New variable.
(pgg-fetch-key): Use it.
(pgg-encrypt-region): If called interactively, popup
`pgg-echo-buffer' to display encryption status.
(pgg-decrypt-region): Likewise.
(pgg-sign-region): Likewise.
(pgg-verify-region): Likewise.
ueno [Fri, 5 Nov 1999 07:10:54 +0000 (07:10 +0000)]
* pgg-pgp5.el (lookup-key-string): Use `call-process' instead of
`pgg-pgp5-process-region'.
(encrypt-region): Use `pgg-process-when-success'; if the output
buffer is empty, don't copy errors, just return nil.
(decrypt-region): Likewise.
(verify-region): Likewise.
(sign-region): Accept optional argument `clearsign'.
ueno [Fri, 5 Nov 1999 07:10:45 +0000 (07:10 +0000)]
* pgg-pgp.el (lookup-key-string): Use `call-process' instead of
`pgg-pgp-process-region'.
(encrypt-region): Use `pgg-process-when-success'; if the output
buffer is empty, don't copy errors, just return nil.
(decrypt-region): Likewise.
(verify-region): Likewise.
(sign-region): Accept optional argument `clearsign'.
ueno [Fri, 5 Nov 1999 07:10:36 +0000 (07:10 +0000)]
* pgg-gpg.el (lookup-key-string): Use `call-process' instead of
`pgg-gpg-process-region'.
(encrypt-region): Use `pgg-process-when-success'; if the output
buffer is empty, don't copy errors, just return nil.
(decrypt-region): Likewise.
(verify-region): Check the contents of status buffer to looking
for `GOODSIG' response.
(sign-region): Accept optional argument `clearsign'.
ueno [Fri, 5 Nov 1999 07:10:25 +0000 (07:10 +0000)]
* pgg-def.el (pgg-echo-buffer): New variable.
ueno [Thu, 4 Nov 1999 18:39:19 +0000 (18:39 +0000)]
(pgg-verify-region): Fix last change.
ueno [Thu, 4 Nov 1999 18:36:11 +0000 (18:36 +0000)]
update.
ueno [Thu, 4 Nov 1999 18:35:02 +0000 (18:35 +0000)]
* pgg.el (pgg-verify-region): Ignore all errors encountered on
calling `pgg-fetch-key'.
ueno [Thu, 4 Nov 1999 18:17:39 +0000 (18:17 +0000)]
update.
ueno [Thu, 4 Nov 1999 18:16:46 +0000 (18:16 +0000)]
* pgg-pgp.el (pgg-pgp-process-region): Set `PGPPASSFD' to 0 before
starting PGP process.
* pgg-pgp5.el (pgg-pgp5-process-region): Ditto.
ueno [Thu, 4 Nov 1999 18:15:49 +0000 (18:15 +0000)]
* mime-pgp.el (mime-verify-application/pgp-signature): Enclose
with `unwind-protect' to be sure of deleting *.asc files.
ueno [Thu, 4 Nov 1999 15:25:06 +0000 (15:25 +0000)]
update.
ueno [Thu, 4 Nov 1999 15:23:05 +0000 (15:23 +0000)]
* pgg-parse.el (pgg-parse-crc24): Don't use any `write' ops.
(pgg-parse-crc24-string): Use `ccl-execute-on-string'.
ueno [Thu, 4 Nov 1999 06:09:45 +0000 (06:09 +0000)]
update.
ueno [Thu, 4 Nov 1999 06:09:07 +0000 (06:09 +0000)]
* mime-edit.el (mime-edit-set-sign): Preserve last status of
`mime-edit-pgp-processing'.
(mime-edit-set-encrypt): Ditto.
(mime-edit-pgp-enclose-buffer): Process
`mime-edit-pgp-enclose-buffer' consequently.
ueno [Thu, 4 Nov 1999 06:08:47 +0000 (06:08 +0000)]
* pgg-parse.el (pgg-decode-packets): Don't use `mime-encode-string'.
(pgg-ignore-packet-checksum): Default to t.
ueno [Thu, 4 Nov 1999 02:30:26 +0000 (02:30 +0000)]
update.
ueno [Thu, 4 Nov 1999 02:29:23 +0000 (02:29 +0000)]
* pgg.el: Rename the field name `cipher-algorithm' to
`symmetric-key-algorithm'.
(pgg-verify-condition): Fix documentation.
(pgg-decrypt-condition): Ditto.
ueno [Thu, 4 Nov 1999 02:28:47 +0000 (02:28 +0000)]
* mime-edit.el (mime-edit-preview-message): Inherit the value of
`mime-edit-pgp-processing'.
ueno [Wed, 3 Nov 1999 16:01:30 +0000 (16:01 +0000)]
update.
ueno [Wed, 3 Nov 1999 16:00:32 +0000 (16:00 +0000)]
* semi-def.el (pgp-function-alist): Remove `lookup-key'.
ueno [Wed, 3 Nov 1999 16:00:19 +0000 (16:00 +0000)]
* pgg.el (pgg-encrypt-region): Add interactive spec.
(pgg-decrypt-region): Ditto.
(pgg-sign-region): Ditto.
(pgg-verify-region): Add optional argument `fetch' to fetch
signer's public key.
ueno [Wed, 3 Nov 1999 16:00:02 +0000 (16:00 +0000)]
* pgg-def.el (pgg-default-keyserver-address): New variable.
ueno [Wed, 3 Nov 1999 15:59:50 +0000 (15:59 +0000)]
* mime-pgp.el (mime-display-application/pgp-signature): Abolish.
(mime-display-application/pgp-encrypted): Abolish.
(mime-display-application/pgp-keys): Abolish.
(mime-pgp-keyserver-url-template): Abolish.
(mime-pgp-keyserver-address): Abolish.
(mime-pgp-keyserver-port): Abolish.
(mime-pgp-keyserver-protocol): Abolish.
(mime-pgp-fetch-key): Abolish.
ueno [Wed, 3 Nov 1999 15:59:09 +0000 (15:59 +0000)]
* semi-setup.el: Delete default setting of
`mime-display-application/pgp-signature',
`mime-display-application/pgp-encrypted',
`mime-display-application/pgp-keys'
ueno [Wed, 3 Nov 1999 13:02:57 +0000 (13:02 +0000)]
update.
ueno [Wed, 3 Nov 1999 13:02:22 +0000 (13:02 +0000)]
* pgg.el (pgg-fetch-key): Protect `buffer-file-name'.
ueno [Wed, 3 Nov 1999 13:01:50 +0000 (13:01 +0000)]
* pgg-gpg.el (snarf-keys-region): Add `-' as extra argument of
gpg --import; convert status code into an integer.
ueno [Wed, 3 Nov 1999 09:40:56 +0000 (09:40 +0000)]
update.
ueno [Wed, 3 Nov 1999 09:40:14 +0000 (09:40 +0000)]
* semi-def.el (pgp-function-alist): Add `lookup-key'.
ueno [Wed, 3 Nov 1999 09:40:02 +0000 (09:40 +0000)]
* mime-pgp.el (mime-pgp-keyserver-url-template): New variable
imported from semi-pgpgpg.
(mime-pgp-keyserver-address): Ditto.
(mime-pgp-keyserver-port): Ditto.
(mime-pgp-keyserver-protocol): New variable.
(mime-pgp-fetch-key): New function.
(mime-verify-application/pgp-signature): Prompt user to fetch
signer's public key.
ueno [Wed, 3 Nov 1999 09:39:51 +0000 (09:39 +0000)]
* pgg-def.el (pgg-truncate-key-identifier): New macro.