elisp/epg.git
18 years ago* epa-file.el (epa-file-insert-file-contents): Use
ueno [Sun, 10 Sep 2006 02:41:36 +0000 (02:41 +0000)]
* epa-file.el (epa-file-insert-file-contents): Use
decode-coding-inserted-region if available.

18 years ago(epg-configuration): Fixed the last change;
hmurata [Tue, 5 Sep 2006 13:34:37 +0000 (13:34 +0000)]
(epg-configuration): Fixed the last change;
collect configuration other than group and algorithm.

18 years ago(epg-configuration): Fixed a typo.
ueno [Tue, 5 Sep 2006 10:17:56 +0000 (10:17 +0000)]
(epg-configuration): Fixed a typo.

18 years ago* epg-config.el (epg-debug): Moved from epg.el.
ueno [Tue, 5 Sep 2006 04:03:11 +0000 (04:03 +0000)]
* epg-config.el (epg-debug): Moved from epg.el.
(epg-configuration): Parse group configuration.
(epg-expand-group): New function.

18 years agoUpdate. epg-0_0_5
ueno [Mon, 4 Sep 2006 07:10:54 +0000 (07:10 +0000)]
Update.

18 years ago* EasyPG: Version 0.0.5 released.
ueno [Mon, 4 Sep 2006 07:07:37 +0000 (07:07 +0000)]
* EasyPG: Version 0.0.5 released.
* epg.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

18 years agoUpdate.
ueno [Mon, 4 Sep 2006 06:36:42 +0000 (06:36 +0000)]
Update.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 06:19:25 +0000 (06:19 +0000)]
Fixed.

18 years agoepg-passphrase-coding-system -> epg-locale-coding-system.
ueno [Mon, 4 Sep 2006 06:16:18 +0000 (06:16 +0000)]
epg-passphrase-coding-system -> epg-locale-coding-system.

18 years ago* epg-config.el (epg-passphrase-coding-system): New user option.
ueno [Mon, 4 Sep 2006 06:09:23 +0000 (06:09 +0000)]
* epg-config.el (epg-passphrase-coding-system): New user option.

18 years agoSupport non-ASCII passphrases.
ueno [Mon, 4 Sep 2006 05:44:19 +0000 (05:44 +0000)]
Support non-ASCII passphrases.

18 years ago* epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
ueno [Mon, 4 Sep 2006 05:42:58 +0000 (05:42 +0000)]
* epg.el (epg--list-keys-1): Respect epg-gpg-home-directory.
(epg--clear-string): New function.
(epg--status-GET_HIDDEN): Encode passphrase with
terminal-coding-system.

* epg-config.el (epg-gpg-minimum-version): New constant.
(epg-config--parse-version): New function.
(epg-config--compare-version): New function.
(epg-configuration): Respect epg-gpg-home-directory.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 03:57:40 +0000 (03:57 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 03:41:40 +0000 (03:41 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 03:32:31 +0000 (03:32 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 03:32:07 +0000 (03:32 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 4 Sep 2006 03:31:31 +0000 (03:31 +0000)]
Fixed.

18 years ago(epg-config--compare-version): Simplified.
ueno [Mon, 4 Sep 2006 03:12:34 +0000 (03:12 +0000)]
(epg-config--compare-version): Simplified.

18 years agoUpdate.
ueno [Mon, 4 Sep 2006 03:02:57 +0000 (03:02 +0000)]
Update.

18 years ago* epg-config.el (epg-gpg-minimum-version): New constant.
ueno [Mon, 4 Sep 2006 02:50:29 +0000 (02:50 +0000)]
* epg-config.el (epg-gpg-minimum-version): New constant.
(epg-config--parse-version): New function.
(epg-config--compare-version): New function.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 02:29:55 +0000 (02:29 +0000)]
Update.

18 years ago* COMPILE (epg-modules): Add epg-config.
ueno [Sun, 3 Sep 2006 02:29:13 +0000 (02:29 +0000)]
* COMPILE (epg-modules): Add epg-config.
* Makefile.am (EXTRA_DIST): Add epg-config.el.
* epg-config.el: New file.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 02:10:22 +0000 (02:10 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 02:06:46 +0000 (02:06 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 02:05:23 +0000 (02:05 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 02:04:27 +0000 (02:04 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 01:59:07 +0000 (01:59 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 01:58:13 +0000 (01:58 +0000)]
Update.

18 years agoUpdate.
ueno [Sun, 3 Sep 2006 01:57:25 +0000 (01:57 +0000)]
Update.

18 years agoAbolished epg-gpgsm-home-directory.
ueno [Sun, 3 Sep 2006 01:06:37 +0000 (01:06 +0000)]
Abolished epg-gpgsm-home-directory.

18 years agoUpdate.
ueno [Sat, 2 Sep 2006 21:07:47 +0000 (21:07 +0000)]
Update.

18 years agoconfiguration -> config.
ueno [Sat, 2 Sep 2006 21:01:01 +0000 (21:01 +0000)]
configuration -> config.

18 years ago* epg.el (epg-gpg-home-directory): New user option.
ueno [Sat, 2 Sep 2006 20:57:54 +0000 (20:57 +0000)]
* epg.el (epg-gpg-home-directory): New user option.
(epg-gpgsm-home-directory): New user option.

18 years agoUpdate.
ueno [Sat, 2 Sep 2006 13:24:53 +0000 (13:24 +0000)]
Update.

18 years agoUpdate.
ueno [Sat, 2 Sep 2006 13:24:21 +0000 (13:24 +0000)]
Update.

18 years agoUpdate.
ueno [Sat, 2 Sep 2006 13:21:04 +0000 (13:21 +0000)]
Update.

18 years agoFixed.
ueno [Sat, 2 Sep 2006 01:21:04 +0000 (01:21 +0000)]
Fixed.

18 years ago* epg.el (epg-check-configuration): New function.
ueno [Sat, 2 Sep 2006 01:16:05 +0000 (01:16 +0000)]
* epg.el (epg-check-configuration): New function.

18 years ago* pgg-epg.el (pgg-epg-lookup-key): New function.
ueno [Sat, 2 Sep 2006 00:26:57 +0000 (00:26 +0000)]
* pgg-epg.el (pgg-epg-lookup-key): New function.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.