elisp/epg.git
17 years ago* EasyPG: Version 0.0.4 released. epg-0_0_4
ueno [Sat, 29 Jul 2006 13:49:04 +0000 (13:49 +0000)]
* EasyPG: Version 0.0.4 released.
* epg.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

17 years agoUpdate.
ueno [Sat, 29 Jul 2006 13:47:47 +0000 (13:47 +0000)]
Update.

17 years ago* acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
ueno [Sat, 29 Jul 2006 13:42:38 +0000 (13:42 +0000)]
* acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.

17 years ago* epg.el (epg-start-encrypt): Extract primary key ID from
ueno [Fri, 28 Jul 2006 05:04:33 +0000 (05:04 +0000)]
* epg.el (epg-start-encrypt): Extract primary key ID from
epg-context-signers.
Thanks to Steve Youngs <steve@sxemacs.org>

17 years ago* pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
ueno [Fri, 28 Jul 2006 02:59:23 +0000 (02:59 +0000)]
* 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>

17 years agoQuote $GPG.
ueno [Mon, 24 Jul 2006 01:05:07 +0000 (01:05 +0000)]
Quote $GPG.

17 years ago(epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
ueno [Tue, 18 Jul 2006 07:06:45 +0000 (07:06 +0000)]
(epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
don't allow process input.
(epg-pgp50i--parse-time): New function.
(epg-pgp50i--status-BAD_SIGNATURE): New function.

17 years ago* epg-pgp50i.el (epg-pgp50i--process-filter): Use
ueno [Tue, 18 Jul 2006 07:04:48 +0000 (07:04 +0000)]
* epg-pgp50i.el (epg-pgp50i--process-filter): Use
epg-process-filter-running instead of epg-pgp50i-status; Don't
save-excursion during handler execution.

* epg.el (epg--process-filter): Don't save-excursion during
handler execution.

17 years ago* acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
ueno [Tue, 18 Jul 2006 01:37:30 +0000 (01:37 +0000)]
* acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.

17 years ago* epg.el (epg--process-filter): Allow only one status handler to run at a
ueno [Tue, 18 Jul 2006 01:09:52 +0000 (01:09 +0000)]
* epg.el (epg--process-filter): Allow only one status handler to run at a
time; update epg-read-point everytime the point changes.

17 years ago* epg.el (epg-process-filter-running): New variable.
ueno [Tue, 18 Jul 2006 00:56:56 +0000 (00:56 +0000)]
* epg.el (epg-process-filter-running): New variable.
(epg--start): Setup epg-process-filter-running.
(epg--process-filter): Allow only one status handler to run at a
time.

17 years agoPartial implementation of epg-start-verify.
ueno [Fri, 14 Jul 2006 11:07:29 +0000 (11:07 +0000)]
Partial implementation of epg-start-verify.

17 years agoDon't wait for GOOD_PASSPHRASE.
ueno [Fri, 14 Jul 2006 10:30:44 +0000 (10:30 +0000)]
Don't wait for GOOD_PASSPHRASE.

17 years ago* epg-pgp50i.el: New file.
ueno [Fri, 14 Jul 2006 10:20:00 +0000 (10:20 +0000)]
* epg-pgp50i.el: New file.

17 years agoAdded --disable-gpgtest option.
ueno [Thu, 13 Jul 2006 06:07:53 +0000 (06:07 +0000)]
Added --disable-gpgtest option.

17 years agoUntabify.
ueno [Thu, 13 Jul 2006 05:48:34 +0000 (05:48 +0000)]
Untabify.

17 years ago* acinclude.m4 (AC_PATH_GPG): New macro.
ueno [Thu, 13 Jul 2006 03:49:13 +0000 (03:49 +0000)]
* acinclude.m4 (AC_PATH_GPG): New macro.
* configure.ac: Check gpg version.
Suggested by Max Froumentin <max@lapin-bleu.net>

17 years ago* epg.el (epg-signature-to-string): Remove a trailing whitespace.
ueno [Mon, 10 Jul 2006 06:37:33 +0000 (06:37 +0000)]
* epg.el (epg-signature-to-string): Remove a trailing whitespace.

17 years ago* epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
ueno [Mon, 10 Jul 2006 06:34:01 +0000 (06:34 +0000)]
* epg.el (epg--status-ERRSIG): Don't remove the last verify-result.

17 years agoDon't bind [return].
ueno [Mon, 10 Jul 2006 03:26:06 +0000 (03:26 +0000)]
Don't bind [return].

17 years ago(epa-select-keys): Simplified.
ueno [Mon, 10 Jul 2006 01:21:47 +0000 (01:21 +0000)]
(epa-select-keys): Simplified.

17 years ago* epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
ueno [Mon, 10 Jul 2006 01:07:26 +0000 (01:07 +0000)]
* epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
(epa-toggle-mark): New command.

17 years agoUpdate.
ueno [Tue, 4 Jul 2006 02:50:26 +0000 (02:50 +0000)]
Update.

17 years ago* pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
ueno [Tue, 4 Jul 2006 02:49:44 +0000 (02:49 +0000)]
* pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
with pgg-default-user-id.

17 years ago* epa.el (epa-select-keys): If SECRET is specified, select a
ueno [Sat, 1 Jul 2006 11:21:51 +0000 (11:21 +0000)]
* epa.el (epa-select-keys): If SECRET is specified, select a
primary secret key by default.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.

17 years agoFixed a couple of typos.
ueno [Sat, 1 Jul 2006 09:44:53 +0000 (09:44 +0000)]
Fixed a couple of typos.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.

17 years ago* EasyPG: Version 0.0.3 released. epg-0_0_3
ueno [Thu, 29 Jun 2006 04:58:34 +0000 (04:58 +0000)]
* EasyPG: Version 0.0.3 released.
* epg.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

17 years agoFixed.
ueno [Thu, 29 Jun 2006 04:57:34 +0000 (04:57 +0000)]
Fixed.

17 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>

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

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

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

17 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.

17 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.

17 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.

17 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.

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

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

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

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

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

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

17 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.

17 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.

17 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.

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

17 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.

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

17 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

17 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.

17 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.

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

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

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

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

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

17 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.

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

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

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

17 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".

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

17 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.

17 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.

17 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.

17 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.

17 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.