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.
ueno [Wed, 3 Nov 1999 09:39:38 +0000 (09:39 +0000)]
* pgg.el: Rename generic function `lookup-key' to
`lookup-key-string'; add optional argument `type'.
(pgg-fetch-key): New function.
(pgg-snarf-keys-region): Fix typo.
(pgg-lookup-key-string): New function.
(pgg-read-passphrase): Use `pgg-truncate-key-identifier'.
(pgg-add-passphrase-cache): Ditto.
ueno [Wed, 3 Nov 1999 09:39:14 +0000 (09:39 +0000)]
* pgg.el, pgg-gpg.el, pgg-pgp5.el, pgg-pgp.el:
Rename generic function `lookup-key' to `lookup-key-string';
add optional argument `type'.
ueno [Wed, 3 Nov 1999 06:54:16 +0000 (06:54 +0000)]
update.
ueno [Wed, 3 Nov 1999 06:53:37 +0000 (06:53 +0000)]
(pgg-decode-armor-region): Remove autoload cookie.
(pgg-armor-header-lines): New variable.
ueno [Wed, 3 Nov 1999 06:53:14 +0000 (06:53 +0000)]
(pgg-scheme): Remove all slots.
(pgg-decrypt-codition): Rename tag `cipher-algorithm' to
`symmetric-key-algorithm'.
(lookup-key): Add documentation to the new generic function.
ueno [Wed, 3 Nov 1999 06:52:37 +0000 (06:52 +0000)]
(lookup-key): New generic function.
(encrypt-region): Use `lookup-key'; cache passphrase if the encryption
has been done successfully.
(sign-region): Likewise.
(decrypt-region): Use `lookup-key'.
ueno [Tue, 2 Nov 1999 21:09:13 +0000 (21:09 +0000)]
(pgg-read-passphrase): Use only four octets of the key.
ueno [Tue, 2 Nov 1999 21:05:42 +0000 (21:05 +0000)]
update.
ueno [Tue, 2 Nov 1999 21:05:00 +0000 (21:05 +0000)]
(lookup-key): New generic method.
(encrypt-region): Use `lookup-key'; cache passphrase if the
encryption is done successfully.
(sign-region): Likewise.
(decrypt-region): Use `lookup-key'.
ueno [Tue, 2 Nov 1999 21:04:23 +0000 (21:04 +0000)]
(pgg-add-passphrase-cache): Use only four octets of the key.
ueno [Tue, 2 Nov 1999 20:22:29 +0000 (20:22 +0000)]
update.
ueno [Tue, 2 Nov 1999 20:21:35 +0000 (20:21 +0000)]
(lookup-key): New generic method.
(encrypt-region): Use `lookup-key';
cache passphrase if the encryption has been done successfully.
(sign-region): Likewise.
(decrypt-region): Use `lookup-key'.
ueno [Tue, 2 Nov 1999 20:20:08 +0000 (20:20 +0000)]
(pgg-passphrase-cache-expiry): New variable.
(pgg-passphrase-cache): New variable.
(pgg-read-passphrase): Add optional argument `key'.
(pgg-add-passphrase-cache): New function.
(pgg-remove-passphrase-cache): New function.
ueno [Tue, 2 Nov 1999 20:19:39 +0000 (20:19 +0000)]
(mime-display-application/pgp-encrypted): Refer `key-identifier'.
ueno [Tue, 2 Nov 1999 20:19:04 +0000 (20:19 +0000)]
(pgg-parse-public-key-encrypted-session-key-packet): Rename tag
`public-key-identifier' to `key-identifier'.
ueno [Tue, 2 Nov 1999 18:19:56 +0000 (18:19 +0000)]
update.
ueno [Tue, 2 Nov 1999 18:19:21 +0000 (18:19 +0000)]
(pgg-parse-length-type): Fix typo.
(pgg-parse-public-key-encrypted-session-key-packet): Use
`pgg-read-bytes-string' instead of `pgg-read-bytes'.
ueno [Tue, 2 Nov 1999 17:50:04 +0000 (17:50 +0000)]
update.
ueno [Tue, 2 Nov 1999 17:48:43 +0000 (17:48 +0000)]
Set up for `mime-display-application/pgp-signature',
`mime-display-application/pgp-encrypted',
`mime-display-application/pgp-keys'.
(mime-setup-enable-pgp): Default to t.
ueno [Tue, 2 Nov 1999 17:48:04 +0000 (17:48 +0000)]
Add comment that this module is based on
draft-yamamoto-openpgp-mime-00.txt (OpenPGP/MIME) and
RFC 2440(OpenPGP Message Format) as well.
(mime-verify-application/pgp-signature): Use
`pgg-verify-region' instead of `mime-pgp-check-signature'.
(mime-display-application/pgp-signature): New function.
(mime-display-application/pgp-encrypted): New function.
(mime-display-application/pgp-keys): New function.
ueno [Tue, 2 Nov 1999 17:47:05 +0000 (17:47 +0000)]
(mime-edit-sign-pgp-mime): Rewrite with PGG functions.
(mime-edit-encrypt-pgp-mime): Likewise.
(mime-edit-encrypt-recipient-fields-list): Return recipients as a list.
ueno [Tue, 2 Nov 1999 17:45:36 +0000 (17:45 +0000)]
(semi-modules-to-compile): Add `pgg', `pgg-parse', `pgg-gpg',
`pgg-pgp' and `pgg-pgp5' instead of `mime-mc'.
ueno [Tue, 2 Nov 1999 17:44:42 +0000 (17:44 +0000)]
(mime-display-image): Rewrite.
ueno [Tue, 2 Nov 1999 17:43:55 +0000 (17:43 +0000)]
(mime-user-interface-product): Modify for EMIKO.
(pgp-function-alist): Replace each method with PGG function.