elisp/epg.git
18 years ago* epa-file.el (epa-file-insert-file-contents): Don't move the
ueno [Mon, 12 Jun 2006 06:26:47 +0000 (06:26 +0000)]
* epa-file.el (epa-file-insert-file-contents): Don't move the
point to the end of the inserted region.
Reported by doug <douglas.bagley@gmail.com>

18 years agoFixed.
ueno [Tue, 6 Jun 2006 06:07:47 +0000 (06:07 +0000)]
Fixed.

18 years agoUpdate.
ueno [Thu, 1 Jun 2006 08:41:30 +0000 (08:41 +0000)]
Update.

18 years agoUpdate.
ueno [Thu, 1 Jun 2006 08:39:37 +0000 (08:39 +0000)]
Update.

18 years ago* epa-file.el (epa-file-insert-file-contents): Support partial read.
ueno [Thu, 1 Jun 2006 06:17:21 +0000 (06:17 +0000)]
* epa-file.el (epa-file-insert-file-contents): Support partial read.

18 years ago(epa-file-write-region): Encode the plain text with
hmurata [Tue, 30 May 2006 10:42:16 +0000 (10:42 +0000)]
(epa-file-write-region): Encode the plain text with
coding-system-for-write.

18 years ago* epa-file.el (epa-file-insert-file-contents):
ueno [Tue, 30 May 2006 09:41:14 +0000 (09:41 +0000)]
* epa-file.el (epa-file-insert-file-contents):
Decode the decrypted text with coding-system-for-read.

18 years ago* EasyPG: Version 0.0.2 released. epg-0_0_2
ueno [Mon, 29 May 2006 02:20:21 +0000 (02:20 +0000)]
* EasyPG: Version 0.0.2 released.
* epg.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

18 years agoUpdate.
ueno [Mon, 29 May 2006 02:16:27 +0000 (02:16 +0000)]
Update.

18 years agoUpdate.
ueno [Mon, 29 May 2006 02:16:22 +0000 (02:16 +0000)]
Update.

18 years agoFixed.
ueno [Mon, 29 May 2006 02:08:43 +0000 (02:08 +0000)]
Fixed.

18 years ago* epg.el (epg--time-from-seconds): New function.
ueno [Mon, 29 May 2006 02:01:32 +0000 (02:01 +0000)]
* epg.el (epg--time-from-seconds): New function.
(epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
(epg--status-VALIDSIG): Ditto.
(epg--status-KEYEXPIRED): Ditto.

18 years ago* epa.el (epa--format-seconds): New function.
ueno [Mon, 29 May 2006 01:49:53 +0000 (01:49 +0000)]
* epa.el (epa--format-seconds): New function.
(epa-show-key): Convert seconds from epoch to date.

18 years ago* epg.el (epg-start-import-keys): Don't specify filename if keys
ueno [Sun, 28 May 2006 06:51:05 +0000 (06:51 +0000)]
* epg.el (epg-start-import-keys): Don't specify filename if keys
is a string data.

18 years ago* epg.el (epg--process-filter): Pass epg-context instead of
ueno [Sat, 27 May 2006 02:01:14 +0000 (02:01 +0000)]
* epg.el (epg--process-filter): Pass epg-context instead of
process to status handlers.
(epg--status-NO_PUBKEY): Check if the previous signature's key-id
matches with the given key-id.

18 years ago* epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
ueno [Fri, 26 May 2006 22:33:32 +0000 (22:33 +0000)]
* epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
status from 'error to 'no-pubkey.
(epg--status-ERRSIG): Just add 'error signature to the verify result.

18 years ago* epa.el (epa-popup-info-window): Disable by default.
ueno [Fri, 26 May 2006 22:14:57 +0000 (22:14 +0000)]
* epa.el (epa-popup-info-window): Disable by default.
(epa-display-verify-result): Don't use with-output-to-temp-buffer.
(epa-info-mode): New function.

18 years agoFixed.
ueno [Fri, 26 May 2006 11:26:59 +0000 (11:26 +0000)]
Fixed.

18 years agowith-temp-output-buffer always create new buffer.
ueno [Fri, 26 May 2006 11:23:16 +0000 (11:23 +0000)]
with-temp-output-buffer always create new buffer.

18 years ago(epa--temp-buffer-show-function): Set buffer-read-only here.
ueno [Fri, 26 May 2006 11:19:12 +0000 (11:19 +0000)]
(epa--temp-buffer-show-function): Set buffer-read-only here.

18 years agoDon't set buffer-read-only on epa-info-buffer.
ueno [Fri, 26 May 2006 11:17:27 +0000 (11:17 +0000)]
Don't set buffer-read-only on epa-info-buffer.

18 years agoFixed.
ueno [Fri, 26 May 2006 11:14:20 +0000 (11:14 +0000)]
Fixed.

18 years agoFixed.
ueno [Fri, 26 May 2006 11:13:53 +0000 (11:13 +0000)]
Fixed.

18 years ago* epa.el (epa-popup-info-window): New user option.
ueno [Fri, 26 May 2006 11:09:29 +0000 (11:09 +0000)]
* epa.el (epa-popup-info-window): New user option.
(epa-info-window-height): New user option.
(epa-display-verify-result): New function.

18 years ago(epa-insert-keys): Renamed from epa-list-keys-1; don't
ueno [Fri, 26 May 2006 10:20:54 +0000 (10:20 +0000)]
(epa-insert-keys): Renamed from epa-list-keys-1; don't
disable inhibit-quit here; make text-properties nonsticky.

18 years ago* epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
ueno [Fri, 26 May 2006 10:13:47 +0000 (10:13 +0000)]
* epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
disable inhibit-quit here.

18 years agoReverted.
ueno [Fri, 26 May 2006 10:05:09 +0000 (10:05 +0000)]
Reverted.

18 years agoepa--list-keys-1 -> epa--yvfg-xrlf-1.
ueno [Fri, 26 May 2006 09:45:46 +0000 (09:45 +0000)]
epa--list-keys-1 -> epa--yvfg-xrlf-1.

18 years agoFixed.
ueno [Fri, 26 May 2006 09:43:56 +0000 (09:43 +0000)]
Fixed.

18 years agoepa-list-keys-1 -> epa--list-keys-1
ueno [Fri, 26 May 2006 09:43:38 +0000 (09:43 +0000)]
epa-list-keys-1 -> epa--list-keys-1

18 years agoAdded "Don't use this command in Lisp programs!" to docstrings of
ueno [Fri, 26 May 2006 09:40:29 +0000 (09:40 +0000)]
Added "Don't use this command in Lisp programs!" to docstrings of
commands which take the current region as their arguments.

18 years agoPrefix epg-- instead of epg- for non-interface functions.
ueno [Fri, 26 May 2006 09:28:54 +0000 (09:28 +0000)]
Prefix epg-- instead of epg- for non-interface functions.

18 years agoFixed.
ueno [Fri, 26 May 2006 04:15:23 +0000 (04:15 +0000)]
Fixed.

18 years agoFixed.
ueno [Fri, 26 May 2006 04:14:55 +0000 (04:14 +0000)]
Fixed.

18 years agoAdded "MUA Integration" section.
ueno [Fri, 26 May 2006 04:04:07 +0000 (04:04 +0000)]
Added "MUA Integration" section.

18 years agoSpecify defgroup parent.
ueno [Fri, 26 May 2006 03:45:59 +0000 (03:45 +0000)]
Specify defgroup parent.

18 years agoUpdate.
ueno [Fri, 26 May 2006 03:14:10 +0000 (03:14 +0000)]
Update.

18 years ago* epg.el (epg-make-context): New slot "operation".
ueno [Fri, 26 May 2006 03:13:25 +0000 (03:13 +0000)]
* epg.el (epg-make-context): New slot "operation".
(epg-passphrase-callback-function): Confirm passphrase when
performing symmetric encryption.

18 years agoUpdate.
ueno [Thu, 25 May 2006 09:58:40 +0000 (09:58 +0000)]
Update.

18 years agoUpdate.
ueno [Thu, 25 May 2006 09:56:19 +0000 (09:56 +0000)]
Update.

18 years agoIncrease the timeout value.
ueno [Thu, 25 May 2006 09:20:20 +0000 (09:20 +0000)]
Increase the timeout value.

18 years agoNarrow regions enclosed with "XXX..." / "XXX...done".
ueno [Thu, 25 May 2006 08:54:29 +0000 (08:54 +0000)]
Narrow regions enclosed with "XXX..." / "XXX...done".

18 years agoMention region based commands.
ueno [Thu, 25 May 2006 06:59:02 +0000 (06:59 +0000)]
Mention region based commands.

18 years ago* epa.el (epa-decrypt-region): New command.
ueno [Thu, 25 May 2006 06:55:13 +0000 (06:55 +0000)]
* epa.el (epa-decrypt-region): New command.
(epa-verify-region): New command.

18 years ago* epa.el (epa-decrypt-armor-in-region): New command.
ueno [Thu, 25 May 2006 06:40:59 +0000 (06:40 +0000)]
* epa.el (epa-decrypt-armor-in-region): New command.
(epa-verify-armor-in-region): New command.
(epa-sign-region): New command.
(epa-encrypt-region): New command.

18 years ago* epa.el (epa-verify-region): New command.
ueno [Thu, 25 May 2006 05:50:28 +0000 (05:50 +0000)]
* epa.el (epa-verify-region): New command.

18 years ago* epa.el (epa-decrypt-file): Display verify result if the message
ueno [Thu, 25 May 2006 05:10:17 +0000 (05:10 +0000)]
* epa.el (epa-decrypt-file): Display verify result if the message
is signed.
(epa-decrypt-region): New command.

18 years agoFixed.
ueno [Thu, 18 May 2006 00:08:22 +0000 (00:08 +0000)]
Fixed.

18 years ago* epa.el (epa-armor): New user option.
ueno [Thu, 11 May 2006 05:56:38 +0000 (05:56 +0000)]
* epa.el (epa-armor): New user option.
(epa-textmode): New user option.

18 years agoFixed a typo.
ueno [Thu, 11 May 2006 01:39:39 +0000 (01:39 +0000)]
Fixed a typo.
Reported by Uwe Brauer <oub@mat.ucm.es>.

18 years ago* epg.el (epg-no-data-reason-alist): New constant.
ueno [Tue, 2 May 2006 08:53:40 +0000 (08:53 +0000)]
* epg.el (epg-no-data-reason-alist): New constant.
(epg-unexpected-reason-alist): New constant.

18 years ago* epg.el (epg-list-keys-postprocess-one-key): Abolished.
ueno [Tue, 2 May 2006 07:44:45 +0000 (07:44 +0000)]
* epg.el (epg-list-keys-postprocess-one-key): Abolished.
(epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
signatures by itself.

18 years ago* epg.el (epg-make-sub-key): Renamed secret -> secret-p.
ueno [Tue, 2 May 2006 02:13:43 +0000 (02:13 +0000)]
* epg.el (epg-make-sub-key): Renamed secret -> secret-p.

18 years ago* epg.el (epg-make-key-signature): New object epg-key-signature.
ueno [Tue, 2 May 2006 02:04:50 +0000 (02:04 +0000)]
* epg.el (epg-make-key-signature): New object epg-key-signature.
(epg-list-keys): Collect key signatures.

18 years agoFixed.
ueno [Mon, 1 May 2006 23:53:01 +0000 (23:53 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 1 May 2006 23:52:29 +0000 (23:52 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 1 May 2006 23:52:02 +0000 (23:52 +0000)]
Fixed.

18 years ago* epg.el (epg-invalid-recipients-reason-alist): Renamed.
ueno [Mon, 1 May 2006 23:50:43 +0000 (23:50 +0000)]
* epg.el (epg-invalid-recipients-reason-alist): Renamed.
(epg-delete-problem-reason-alist): Renamed.
(epg-import-ok-reason-alist): New constant.
(epg-import-problem-reason-alist): New constant.
(epg-status-IMPORTED): New function.
(epg-status-IMPORT_OK): New function.
(epg-status-IMPORT_PROBLEM): New function.
(epg-start-import-keys): Don't use a temporary output file.
(epg-start-receive-keys): New function.
(epg-import-keys-from-server): New function.
(epg-receive-keys): Alias to epg-import-keys-from-server.

18 years agoSimplified.
ueno [Mon, 1 May 2006 22:46:40 +0000 (22:46 +0000)]
Simplified.

18 years ago* epg.el (epg-start-sign): Fixed rule of the MODE argument.
ueno [Mon, 1 May 2006 12:46:15 +0000 (12:46 +0000)]
* epg.el (epg-start-sign): Fixed rule of the MODE argument.

18 years ago* epg.el (epg-make-signature): Added slots for signature class and version.
ueno [Mon, 1 May 2006 03:54:07 +0000 (03:54 +0000)]
* epg.el (epg-make-signature): Added slots for signature class and version.

18 years ago* epg.el (epg-new-signature-to-string): New function.
ueno [Mon, 1 May 2006 03:49:17 +0000 (03:49 +0000)]
* epg.el (epg-new-signature-to-string): New function.

18 years ago* epg.el (epg-new-signature-type-alist): New variable.
ueno [Mon, 1 May 2006 03:42:56 +0000 (03:42 +0000)]
* epg.el (epg-new-signature-type-alist): New variable.
(epg-make-new-signature): New object epg-new-signature.
(epg-status-SIG_CREATED): Set epg-new-signature object.

18 years agoFixed typo.
ueno [Mon, 1 May 2006 03:27:52 +0000 (03:27 +0000)]
Fixed typo.

18 years agoFixed.
ueno [Mon, 1 May 2006 02:22:37 +0000 (02:22 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 1 May 2006 02:17:28 +0000 (02:17 +0000)]
Fixed.

18 years ago* epg.el (epg-flush): Abolished.
ueno [Mon, 1 May 2006 02:16:07 +0000 (02:16 +0000)]
* epg.el (epg-flush): Abolished.
(epg-start-generate-key): New function.
(epg-generate-key-from-file): New function.
(epg-generate-key-from-string): New function.
(epg-status-KEY_CREATED): New function.
(epg-status-KEY_NOT_CREATED): New function.

18 years ago* epg.el (epg-start): Signal an error if the process of CONTEXT is
ueno [Mon, 1 May 2006 00:53:21 +0000 (00:53 +0000)]
* epg.el (epg-start): Signal an error if the process of CONTEXT is
already running for other operations.

18 years agoFixed.
ueno [Mon, 1 May 2006 00:48:24 +0000 (00:48 +0000)]
Fixed.

18 years ago* epg.el (epg-cancel): Set 'error result.
ueno [Sun, 30 Apr 2006 22:07:37 +0000 (22:07 +0000)]
* epg.el (epg-cancel): Set 'error result.

18 years ago* epa.el (epa-delete-keys): Support deletion of secret keys.
ueno [Sun, 30 Apr 2006 21:54:59 +0000 (21:54 +0000)]
* epa.el (epa-delete-keys): Support deletion of secret keys.

18 years agoRevert.
ueno [Sun, 30 Apr 2006 08:16:54 +0000 (08:16 +0000)]
Revert.

18 years agoFixed.
ueno [Sun, 30 Apr 2006 06:13:01 +0000 (06:13 +0000)]
Fixed.

18 years agoXEmacs doesn't have temporary-file-directory.
ueno [Sun, 30 Apr 2006 06:12:19 +0000 (06:12 +0000)]
XEmacs doesn't have temporary-file-directory.

18 years agorot13 internal function names.
ueno [Sun, 30 Apr 2006 06:09:03 +0000 (06:09 +0000)]
rot13 internal function names.

18 years agoConvert line endings only if pgg-text-mode is set.
ueno [Sun, 30 Apr 2006 05:45:36 +0000 (05:45 +0000)]
Convert line endings only if pgg-text-mode is set.

18 years agoFixed header.
ueno [Sun, 30 Apr 2006 05:34:25 +0000 (05:34 +0000)]
Fixed header.

18 years ago* pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
ueno [Sun, 30 Apr 2006 05:33:52 +0000 (05:33 +0000)]
* pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
decrypted text.

18 years agoFixed.
ueno [Sun, 30 Apr 2006 05:14:46 +0000 (05:14 +0000)]
Fixed.

18 years agoFixed.
ueno [Sun, 30 Apr 2006 05:04:03 +0000 (05:04 +0000)]
Fixed.

18 years agoAdded the last change.
ueno [Sun, 30 Apr 2006 05:03:13 +0000 (05:03 +0000)]
Added the last change.

18 years ago* epg.el (epg-read-output): Don't convert line endings of the
ueno [Sun, 30 Apr 2006 04:41:06 +0000 (04:41 +0000)]
* epg.el (epg-read-output): Don't convert line endings of the
output file.

18 years agoFixed.
ueno [Sat, 29 Apr 2006 23:48:58 +0000 (23:48 +0000)]
Fixed.

18 years agoFixed user-id caching.
ueno [Sat, 29 Apr 2006 23:32:13 +0000 (23:32 +0000)]
Fixed user-id caching.

18 years ago* epg.el (epg-make-user-id): Renamed name -> string.
ueno [Sat, 29 Apr 2006 23:30:31 +0000 (23:30 +0000)]
* epg.el (epg-make-user-id): Renamed name -> string.

18 years ago* epg.el (epg-list-keys): Cache user-id in epg-user-id-alist.
ueno [Sat, 29 Apr 2006 23:25:09 +0000 (23:25 +0000)]
* epg.el (epg-list-keys): Cache user-id in epg-user-id-alist.

18 years agoNew file.
ueno [Sat, 29 Apr 2006 22:58:39 +0000 (22:58 +0000)]
New file.

18 years agoAdded 0.0.2 changes.
ueno [Sat, 29 Apr 2006 22:31:42 +0000 (22:31 +0000)]
Added 0.0.2 changes.

18 years agoFixed.
ueno [Sat, 29 Apr 2006 22:28:46 +0000 (22:28 +0000)]
Fixed.

18 years agoErase pgg-*-buffer.
ueno [Sat, 29 Apr 2006 22:16:10 +0000 (22:16 +0000)]
Erase pgg-*-buffer.

18 years agoFixed.
ueno [Sat, 29 Apr 2006 22:15:52 +0000 (22:15 +0000)]
Fixed.

18 years agoFixed signature formatting.
ueno [Sat, 29 Apr 2006 22:09:39 +0000 (22:09 +0000)]
Fixed signature formatting.

18 years agoAdded docstring.
ueno [Sat, 29 Apr 2006 21:51:21 +0000 (21:51 +0000)]
Added docstring.

18 years ago* epg.el (epg-signature-to-string): Decode DN.
ueno [Sat, 29 Apr 2006 21:29:41 +0000 (21:29 +0000)]
* epg.el (epg-signature-to-string): Decode DN.

18 years ago* epg.el (epg-make-signature): Removed user-id.
ueno [Sat, 29 Apr 2006 21:05:09 +0000 (21:05 +0000)]
* epg.el (epg-make-signature): Removed user-id.

18 years ago* epg.el (epg-make-signature): Removed user-id; added
ueno [Sat, 29 Apr 2006 21:04:03 +0000 (21:04 +0000)]
* epg.el (epg-make-signature): Removed user-id; added
creation-time, expiration-time, pubkey-algorithm,
digest-algorithm.
(epg-process-sentinel): Abolished.

18 years ago* epg.el (epg-status-ERRSIG): New function.
ueno [Sat, 29 Apr 2006 06:00:49 +0000 (06:00 +0000)]
* epg.el (epg-status-ERRSIG): New function.
(epg-verify-file): Signal an error if we encounter ERRSIG status.
(epg-verify-string): Ditto.

18 years ago* epg.el (epg-status-NO_PUBKEY): New function.
ueno [Sat, 29 Apr 2006 05:42:04 +0000 (05:42 +0000)]
* epg.el (epg-status-NO_PUBKEY): New function.
(epg-status-NO_SECKEY): New function.

18 years agoAdd epa-setup.el to tarball. epg-0_0_1
ueno [Fri, 28 Apr 2006 22:42:01 +0000 (22:42 +0000)]
Add epa-setup.el to tarball.

18 years agoAdded COMPILE to tarball.
ueno [Fri, 28 Apr 2006 22:40:53 +0000 (22:40 +0000)]
Added COMPILE to tarball.