elisp/epg.git
17 years agoUse epa-protocol.
ueno [Tue, 19 Dec 2006 09:11:31 +0000 (09:11 +0000)]
Use epa-protocol.

17 years agoConsider to use epa-protocol even if prefix-arg is not specified.
ueno [Tue, 19 Dec 2006 09:08:54 +0000 (09:08 +0000)]
Consider to use epa-protocol even if prefix-arg is not specified.

17 years ago* epa.el (epa-protocol): New user option.
ueno [Tue, 19 Dec 2006 09:08:08 +0000 (09:08 +0000)]
* epa.el (epa-protocol): New user option.

17 years ago* epa.el (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as
ueno [Tue, 19 Dec 2006 09:04:02 +0000 (09:04 +0000)]
* epa.el (epa-list-keys): If prefix-arg is specified, use "OpenPGP" as
the default protocol.

17 years agoReverted.
ueno [Tue, 19 Dec 2006 08:54:40 +0000 (08:54 +0000)]
Reverted.

17 years agoAdded comments.
ueno [Tue, 19 Dec 2006 08:53:50 +0000 (08:53 +0000)]
Added comments.

17 years agoDon't specify --armor & --textmode if mode is cleartext
ueno [Tue, 19 Dec 2006 08:53:17 +0000 (08:53 +0000)]
Don't specify --armor & --textmode if mode is cleartext

17 years ago* epa.el (epa-import-keys-region): New command.
ueno [Tue, 19 Dec 2006 08:48:35 +0000 (08:48 +0000)]
* epa.el (epa-import-keys-region): New command.

17 years ago* epg.el (epg-export-keys-to-file): Fixed a typo.
ueno [Tue, 19 Dec 2006 08:44:29 +0000 (08:44 +0000)]
* epg.el (epg-export-keys-to-file): Fixed a typo.

* epa.el (epa-sign-region): --armor & --textmode.
(epa-encrypt-region): Ditto.
(epa-insert-keys): New command.
(epa--insert-keys): Renamed from epa-insert-keys.

17 years agoAdded 0.0.9 changes.
ueno [Sun, 17 Dec 2006 22:49:12 +0000 (22:49 +0000)]
Added 0.0.9 changes.

17 years agoFixed.
ueno [Mon, 11 Dec 2006 06:27:54 +0000 (06:27 +0000)]
Fixed.

17 years agoFixed.
ueno [Mon, 11 Dec 2006 06:06:09 +0000 (06:06 +0000)]
Fixed.

17 years ago* pgg-epg.el (pgg-epg-decrypt-region): Don't call
ueno [Mon, 11 Dec 2006 06:04:44 +0000 (06:04 +0000)]
* pgg-epg.el (pgg-epg-decrypt-region): Don't call
decode-coding-string if it is not bound.

* epa-file.el (epa-file--encode-coding-string): New alias.
(epa-file--decode-coding-string): New alias.
(epa-file-write-region): Use epa-file--encode-coding-string.
(epa-file-decode-and-insert): Use epa-file--decode-coding-string.

* epa.el (epa--encode-coding-string): New alias.
(epa--decode-coding-string): New alias.
(epa-verify-region): Use epa--encode-coding-string.
(epa-sign-region): Ditto; use epa--decode-coding-string.
(epa-encrypt-region): Ditto.

* epg.el (epg--encode-coding-string): New alias.
(epg--status-GET_HIDDEN): use it.

18 years ago* EasyPG: Version 0.0.8 released. epg-0_0_8
ueno [Wed, 29 Nov 2006 21:09:46 +0000 (21:09 +0000)]
* EasyPG: Version 0.0.8 released.
* epg-config.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

18 years agoUpdate.
ueno [Wed, 29 Nov 2006 10:02:04 +0000 (10:02 +0000)]
Update.

18 years ago2006-11-20 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
ueno [Wed, 29 Nov 2006 09:54:38 +0000 (09:54 +0000)]
2006-11-20  Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>

* epa-file.el (epa-file-encrypt-to): New file local variable.
(epa-file-write-region): Specify recipients by epa-file-encrypt-to.

18 years ago"or later"
ueno [Sun, 26 Nov 2006 00:29:43 +0000 (00:29 +0000)]
"or later"

18 years agoMoved periods outside of parenthesis.
ueno [Sun, 26 Nov 2006 00:28:34 +0000 (00:28 +0000)]
Moved periods outside of parenthesis.

18 years ago(epa-decrypt-file): Display output file name on completion.
ueno [Sat, 25 Nov 2006 23:02:29 +0000 (23:02 +0000)]
(epa-decrypt-file): Display output file name on completion.
(epa-sign-file): Ditto.
(epa-encrypt-file): Ditto.

18 years ago(epa-sign-file): Query signature type at a time.
ueno [Sat, 25 Nov 2006 22:57:43 +0000 (22:57 +0000)]
(epa-sign-file): Query signature type at a time.

18 years ago* epa.el (epa-keys-mode): Don't call widget-setup.
ueno [Sat, 25 Nov 2006 22:31:22 +0000 (22:31 +0000)]
* epa.el (epa-keys-mode): Don't call widget-setup.
(epa-list-keys): Call widget-setup here.
(epa-select-keys): Ditto.

18 years ago(epg-delete-keys): Remove redundant argument for `error'
hmurata [Fri, 24 Nov 2006 13:37:49 +0000 (13:37 +0000)]
(epg-delete-keys): Remove redundant argument for `error'
and fix a close parenthesis.

18 years ago* epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
ueno [Fri, 24 Nov 2006 07:53:27 +0000 (07:53 +0000)]
* epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
Reported by Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>.
cf. <emacs-mime-ja:02090>

18 years agoSimplified.
ueno [Wed, 22 Nov 2006 23:52:49 +0000 (23:52 +0000)]
Simplified.

18 years ago(epa-sign-region): Query signature type at a time.
ueno [Wed, 22 Nov 2006 22:52:41 +0000 (22:52 +0000)]
(epa-sign-region): Query signature type at a time.

18 years ago(epg-context-set-passphrase-callback): Add optional
hmurata [Wed, 22 Nov 2006 14:11:30 +0000 (14:11 +0000)]
(epg-context-set-passphrase-callback): Add optional
argument `handback'.
(epg-context-set-progress-callback): Ditto.

18 years ago(epa--key-widget-value-create): Allow empty user IDs.
ueno [Tue, 14 Nov 2006 10:43:07 +0000 (10:43 +0000)]
(epa--key-widget-value-create): Allow empty user IDs.
(epa--show-key): Ditto.
Reported by Werner Koch <wk@gnupg.org>.

18 years ago* epg.el (epg--start): Don't specify --enable-progress-filter for
ueno [Tue, 14 Nov 2006 04:52:31 +0000 (04:52 +0000)]
* epg.el (epg--start): Don't specify --enable-progress-filter for
gpgsm.
(epg--status-PROGRESS): Check if progress-callback is set.

18 years ago* epg.el (epg--check-error-for-decrypt): Renamed from epg--check-decrypt.
ueno [Sun, 12 Nov 2006 22:08:02 +0000 (22:08 +0000)]
* epg.el (epg--check-error-for-decrypt): Renamed from epg--check-decrypt.
(epg--start): Added a very basic test to check whether to specify
--use-agent.

18 years ago* epg.el (epg-error): New error.
ueno [Sun, 12 Nov 2006 08:16:43 +0000 (08:16 +0000)]
* epg.el (epg-error): New error.
(epg--check-decrypt): New function.
(epg-decrypt-file): Use it.
(epg-decrypt-string): Use it.

18 years ago* epa.el (epa-decrypt-file): Expand file name.
ueno [Sun, 12 Nov 2006 08:13:04 +0000 (08:13 +0000)]
* epa.el (epa-decrypt-file): Expand file name.
(epa-verify-file): Ditto.
(epa-import-keys): Ditto.

18 years agoFixed error message.
ueno [Sun, 12 Nov 2006 05:59:38 +0000 (05:59 +0000)]
Fixed error message.

18 years agoFixed.
ueno [Sun, 12 Nov 2006 05:52:05 +0000 (05:52 +0000)]
Fixed.

18 years ago(epg-delete-keys): Decode delete-problem.
ueno [Sun, 12 Nov 2006 05:45:49 +0000 (05:45 +0000)]
(epg-delete-keys): Decode delete-problem.

18 years ago(epa-popup-info-window): Turn on by default.
ueno [Sun, 12 Nov 2006 05:44:26 +0000 (05:44 +0000)]
(epa-popup-info-window): Turn on by default.
(epa-display-info): Split selected window instead of pop-to-buffer.

18 years agoUpdate.
ueno [Sun, 12 Nov 2006 04:24:11 +0000 (04:24 +0000)]
Update.

18 years ago* epa.el (epa-display-verify-result): Make it obsolete.
ueno [Sun, 12 Nov 2006 04:05:50 +0000 (04:05 +0000)]
* epa.el (epa-display-verify-result): Make it obsolete.

18 years agoFixed.
ueno [Sun, 12 Nov 2006 02:51:13 +0000 (02:51 +0000)]
Fixed.

18 years agoFixed.
ueno [Sun, 12 Nov 2006 02:45:33 +0000 (02:45 +0000)]
Fixed.

18 years ago* epa.el (epa-display-info): Generalized; renamed from
ueno [Sun, 12 Nov 2006 02:44:46 +0000 (02:44 +0000)]
* epa.el (epa-display-info): Generalized; renamed from
epa-display-verify-result.
(epa-decrypt-file): Use it.
(epa-verify-file): Use it.
(epa-decrypt-region): Use it.
(epa-verify-region): Use it.
(epa-import-keys): Show import result.

18 years agoFixed.
ueno [Sun, 12 Nov 2006 02:34:30 +0000 (02:34 +0000)]
Fixed.

18 years ago(epg-import-result-to-string): New function.
ueno [Sun, 12 Nov 2006 02:32:25 +0000 (02:32 +0000)]
(epg-import-result-to-string): New function.

18 years ago(epg-start-sign-keys): Make it obsolete; signing a key is
ueno [Sun, 12 Nov 2006 02:14:17 +0000 (02:14 +0000)]
(epg-start-sign-keys): Make it obsolete; signing a key is
out of scope.
(epg-sign-keys): Make it obsolete.
(epg-make-import-status): New object epg-import-status.
(epg-make-import-result): New object epg-import-result.
(epg--status-IMPORT_RES): New function.

18 years agoFixed.
ueno [Sun, 12 Nov 2006 01:06:36 +0000 (01:06 +0000)]
Fixed.

18 years ago* epg.el (epg-start-sign-keys): Make it obsolete; signing key is
ueno [Sun, 12 Nov 2006 01:06:21 +0000 (01:06 +0000)]
* epg.el (epg-start-sign-keys): Make it obsolete; signing key is
out of scope.
(epg-sign-keys): Make it obsolete.
* epa.el (epa-keys-mode-map): Don't bind epa-sign-keys.
(epa-sign-keys): Make it obsolete.

18 years agoepg-signature-notation -> epg-sig-notation.
ueno [Sun, 12 Nov 2006 00:44:53 +0000 (00:44 +0000)]
epg-signature-notation -> epg-sig-notation.

18 years agoAdded 0.0.8 changes.
ueno [Sun, 12 Nov 2006 00:44:40 +0000 (00:44 +0000)]
Added 0.0.8 changes.

18 years agoFix the last changes.
hmurata [Sat, 11 Nov 2006 14:16:33 +0000 (14:16 +0000)]
Fix the last changes.

18 years agoFixed a typo.
ueno [Sat, 11 Nov 2006 08:53:49 +0000 (08:53 +0000)]
Fixed a typo.

18 years ago(epg--status-NOTATION_NAME): New function.
ueno [Sat, 11 Nov 2006 08:53:35 +0000 (08:53 +0000)]
(epg--status-NOTATION_NAME): New function.
(epg--status-NOTATION_DATA): New function.
(epg--status-POLICY_URL): New function.
(epg-make-signature): New slot "notations".

18 years agoFixed.
ueno [Sat, 11 Nov 2006 08:33:31 +0000 (08:33 +0000)]
Fixed.

18 years ago(epg-make-context): New slot "sig-notations".
ueno [Sat, 11 Nov 2006 08:30:40 +0000 (08:30 +0000)]
(epg-make-context): New slot "sig-notations".
(epg--args-from-sig-notations): New function.
(epg-start-sign): Specify --sig-notation or --sig-policy-url if
desired.
(epg-start-encrypt): Ditto.

18 years agoFixed typo.
ueno [Sat, 11 Nov 2006 08:01:14 +0000 (08:01 +0000)]
Fixed typo.

18 years ago(epg-start-sign): Don't set --armor nor --textmode if
ueno [Sat, 11 Nov 2006 08:00:54 +0000 (08:00 +0000)]
(epg-start-sign): Don't set --armor nor --textmode if
mode is set for a cleartext signaturee.

18 years agoUse car-safe to typecheck.
ueno [Mon, 30 Oct 2006 12:49:13 +0000 (12:49 +0000)]
Use car-safe to typecheck.

18 years ago* EasyPG: Version 0.0.7 released. epg-0_0_7
ueno [Sun, 29 Oct 2006 07:28:15 +0000 (07:28 +0000)]
* EasyPG: Version 0.0.7 released.
* epg-config.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

18 years agoAdded 0.0.7 changes.
ueno [Sun, 29 Oct 2006 07:26:25 +0000 (07:26 +0000)]
Added 0.0.7 changes.

18 years ago* epa-file.el
ueno [Sun, 29 Oct 2006 07:24:36 +0000 (07:24 +0000)]
* epa-file.el
(epa-file-cache-passphrase-for-symmetric-encryption): New user
option.

18 years ago* epg.el (epg-start-verify): Fixed a clearsign verification bug.
ueno [Thu, 12 Oct 2006 05:05:48 +0000 (05:05 +0000)]
* epg.el (epg-start-verify): Fixed a clearsign verification bug.
Reported by Hirohisa Yamaguchi <umq@ueo.co.jp>.

18 years ago* EasyPG: Version 0.0.6 released. epg-0_0_6
ueno [Fri, 29 Sep 2006 10:08:04 +0000 (10:08 +0000)]
* EasyPG: Version 0.0.6 released.
* epg.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

18 years agoUpdate.
ueno [Fri, 29 Sep 2006 06:56:00 +0000 (06:56 +0000)]
Update.

18 years agoUpdate.
ueno [Fri, 29 Sep 2006 06:50:31 +0000 (06:50 +0000)]
Update.

18 years agoUpdate.
ueno [Fri, 29 Sep 2006 06:50:13 +0000 (06:50 +0000)]
Update.

18 years agoUpdate.
ueno [Fri, 29 Sep 2006 06:49:41 +0000 (06:49 +0000)]
Update.

18 years agoFixed.
ueno [Fri, 29 Sep 2006 04:26:50 +0000 (04:26 +0000)]
Fixed.

18 years agoFixed.
ueno [Fri, 29 Sep 2006 04:24:00 +0000 (04:24 +0000)]
Fixed.

18 years ago* epa.el (epa-verify-cleartext-in-region): Renamed from
ueno [Fri, 29 Sep 2006 04:09:03 +0000 (04:09 +0000)]
* epa.el (epa-verify-cleartext-in-region): Renamed from
epa-verify-armor-in-region.

18 years ago(epg-verify-file): Mention that the plaintext will be stored into
ueno [Fri, 29 Sep 2006 03:58:41 +0000 (03:58 +0000)]
(epg-verify-file): Mention that the plaintext will be stored into
the file PLAIN after successful verification.
(epg-verify-string): Mention that the plaintext will be returned
after successful verification.

18 years ago* epg.el (epg-passphrase-callback-function): Suggest to use
ueno [Fri, 29 Sep 2006 03:38:12 +0000 (03:38 +0000)]
* epg.el (epg-passphrase-callback-function): Suggest to use
epa-passphrase-callback-function instead.
(epg-start-verify): Don't specify --verify if SIGNATURE is a
normal or a clear text signature.

18 years ago* epa-file.el (epa-file-insert-file-contents): Set progress-callback.
ueno [Wed, 27 Sep 2006 06:13:53 +0000 (06:13 +0000)]
* epa-file.el (epa-file-insert-file-contents): Set progress-callback.
(epa-file-write-region): Ditto.

18 years ago* epa.el (epa-decrypt-file): Set progress callback.
ueno [Wed, 27 Sep 2006 06:12:20 +0000 (06:12 +0000)]
* epa.el (epa-decrypt-file): Set progress callback.
(epa-sign-file): Ditto.
(epa-encrypt-file): Ditto.
(epa-decrypt-region): Ditto.
(epa-sign-region): Ditto.
(epa-encrypt-region): Ditto.
(epa-sign-keys): Ditto.

18 years agoPrefix "epa--" rather than "epa-" for private functions.
ueno [Wed, 27 Sep 2006 06:04:30 +0000 (06:04 +0000)]
Prefix "epa--" rather than "epa-" for private functions.

18 years agoRearrange functions.
ueno [Wed, 27 Sep 2006 05:57:29 +0000 (05:57 +0000)]
Rearrange functions.

18 years ago* epa.el (epa-decrypt-file): Set passphrase-callback.
ueno [Wed, 27 Sep 2006 05:53:13 +0000 (05:53 +0000)]
* epa.el (epa-decrypt-file): Set passphrase-callback.
(epa-sign-file): Ditto.
(epa-encrypt-file): Ditto.
(epa-decrypt-region): Ditto.
(epa-sign-region): Ditto.
(epa-encrypt-region): Ditto.
(epa-sign-keys): Ditto.

18 years ago* epg.el (epg-progress-callback-function): Removed.
ueno [Wed, 27 Sep 2006 05:51:28 +0000 (05:51 +0000)]
* epg.el (epg-progress-callback-function): Removed.

18 years ago* epa.el (epa-passphrase-callback-function): Moved from epg.el.
ueno [Sun, 24 Sep 2006 00:19:26 +0000 (00:19 +0000)]
* epa.el (epa-passphrase-callback-function): Moved from epg.el.
(epa-progress-callback-function): Ditto.
* epg.el (epg-passphrase-callback-function): Made it obsolete.
(epg-progress-callback-function): Ditto.

18 years agoFixed.
ueno [Sun, 24 Sep 2006 00:15:21 +0000 (00:15 +0000)]
Fixed.

18 years ago* epg.el (epg-start-decrypt): Append "--" to the end of options.
ueno [Sat, 23 Sep 2006 23:59:27 +0000 (23:59 +0000)]
* epg.el (epg-start-decrypt): Append "--" to the end of options.
(epg-start-verify): Ditto.
(epg-start-sign): Ditto.
(epg-start-encrypt): Ditto.
(epg-start-import-keys): Ditto.
(epg-start-generate-key): Ditto.

18 years ago* epg.el (epg-make-context): Don't set progress-callback by
ueno [Sat, 23 Sep 2006 06:17:14 +0000 (06:17 +0000)]
* epg.el (epg-make-context): Don't set progress-callback by
default.
(epg--start): Don't specify --enable-progress-filter if
progress-callback is not set.
(epg--status-GET_HIDDEN): Signal an error if passphrase-callback
is not set.

18 years agoFixed.
ueno [Fri, 15 Sep 2006 03:43:16 +0000 (03:43 +0000)]
Fixed.

18 years agoAvoid div-by-zero error.
ueno [Fri, 15 Sep 2006 03:36:36 +0000 (03:36 +0000)]
Avoid div-by-zero error.

18 years ago* epg.el (epg-progress-callback-function): Show the percentage.
ueno [Fri, 15 Sep 2006 03:33:56 +0000 (03:33 +0000)]
* epg.el (epg-progress-callback-function): Show the percentage.

18 years ago2006-09-15 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
ueno [Fri, 15 Sep 2006 03:30:33 +0000 (03:30 +0000)]
2006-09-15  Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>

* pgg-epg.el (mml2015-gpg-extract-signature-details): Fixed a typo.

18 years ago* epg-config.el (epg-passphrase-coding-system): Renamed from
ueno [Wed, 13 Sep 2006 03:54:36 +0000 (03:54 +0000)]
* epg-config.el (epg-passphrase-coding-system): Renamed from
epg-locale-coding-system.

18 years ago* epa-file.el (epa-file-decode-and-insert): New function which
ueno [Mon, 11 Sep 2006 04:08:07 +0000 (04:08 +0000)]
* epa-file.el (epa-file-decode-and-insert): New function which
utilizes decode-coding-inserted-region if available.
(epa-file-insert-file-contents): Use it.

18 years ago(epg--start): Specify --enable-progress-filter in
ueno [Mon, 11 Sep 2006 03:55:26 +0000 (03:55 +0000)]
(epg--start): Specify --enable-progress-filter in
imitation of GPGME.
(epg-progress-callback-function): Remove a couple of %%'s.

18 years agoUndo the last change.
ueno [Sun, 10 Sep 2006 02:53:01 +0000 (02:53 +0000)]
Undo the last change.

18 years agoFixed.
ueno [Sun, 10 Sep 2006 02:45:33 +0000 (02:45 +0000)]
Fixed.

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.