elisp/epg.git
17 years ago* epa.el (epa--derived-mode-p): New alias.
ueno [Sun, 31 Dec 2006 04:07:41 +0000 (04:07 +0000)]
* epa.el (epa--derived-mode-p): New alias.
(epa-sign): Use it.
(epa-encrypt): Use it.

17 years ago* epa.el (epa-display-info): Delete "*Info*" window.
ueno [Sun, 31 Dec 2006 02:48:16 +0000 (02:48 +0000)]
* epa.el (epa-display-info): Delete "*Info*" window.

17 years agoAdded missing (interactive).
ueno [Sun, 31 Dec 2006 02:45:23 +0000 (02:45 +0000)]
Added missing (interactive).

17 years agoSave excursion.
ueno [Sun, 31 Dec 2006 02:42:32 +0000 (02:42 +0000)]
Save excursion.

17 years ago* epa.el (epa-decrypt-region): Confirm user to replace the region.
ueno [Sun, 31 Dec 2006 02:25:24 +0000 (02:25 +0000)]
* epa.el (epa-decrypt-region): Confirm user to replace the region.

17 years ago* epa.el (epa-import-armor-in-region): New command.
ueno [Sun, 31 Dec 2006 02:10:33 +0000 (02:10 +0000)]
* epa.el (epa-import-armor-in-region): New command.
(epa-import): New command.

17 years ago* epa.el (epa--read-signature-type): New function.
ueno [Sun, 31 Dec 2006 02:03:34 +0000 (02:03 +0000)]
* epa.el (epa--read-signature-type): New function.
(epa-decrypt): New command.
(epa-verify): New command.
(epa-sign): New command.
(epa-encrypt): New command.

17 years ago* EasyPG: Version 0.0.9 released. epg-0_0_9
ueno [Fri, 29 Dec 2006 01:48:05 +0000 (01:48 +0000)]
* EasyPG: Version 0.0.9 released.
* epg-config.el (epg-version-number): Bump up.
* configure.ac: Bump up version.

17 years agoUpdate.
ueno [Fri, 29 Dec 2006 01:04:09 +0000 (01:04 +0000)]
Update.

17 years agoUpdate.
ueno [Fri, 29 Dec 2006 00:54:18 +0000 (00:54 +0000)]
Update.

17 years agoFixed parenthesis.
ueno [Thu, 28 Dec 2006 08:34:26 +0000 (08:34 +0000)]
Fixed parenthesis.

17 years ago* epa.el (epa-sign-file): Ask signing key only when a prefix arg
ueno [Thu, 28 Dec 2006 06:56:10 +0000 (06:56 +0000)]
* epa.el (epa-sign-file): Ask signing key only when a prefix arg
is given; ask signature type only when a prefix arg is given.
(epa-sign-region): Ditto.

17 years ago* epg-config.el (epg-passphrase-coding-system): Default to nil.
ueno [Tue, 26 Dec 2006 01:03:46 +0000 (01:03 +0000)]
* epg-config.el (epg-passphrase-coding-system): Default to nil.

17 years ago(epa--format-fingerprint-1): New function.
hmurata [Wed, 20 Dec 2006 12:40:29 +0000 (12:40 +0000)]
(epa--format-fingerprint-1): New function.
(epa--format-fingerprint): Ditto.
(epa--show-key): Use it.

17 years ago* epa-file.el (epa-file-write-region): Don't attempt to write the
ueno [Wed, 20 Dec 2006 06:33:07 +0000 (06:33 +0000)]
* epa-file.el (epa-file-write-region): Don't attempt to write the
region to "/" to determine safe coding-system.

17 years agoChanged indent.
ueno [Wed, 20 Dec 2006 06:32:06 +0000 (06:32 +0000)]
Changed indent.

17 years ago(epa-last-coding-system-specified): New variable.
ueno [Wed, 20 Dec 2006 06:28:39 +0000 (06:28 +0000)]
(epa-last-coding-system-specified): New variable.
(epa-decrypt-region): Try to decode with the
epa-coding-system-used text property.
(epa--select-safe-coding-system): New function.
(epa-verify-region): Try to decode with the epa-coding-system-used
text property.
(epa-sign-region): Query user to select coding-system to encode;
set the epa-coding-system-used text property on the result.
(epa-encrypt-region): Ditto.

17 years ago* epa.el (epa-sign-file): Save the output to *.p7s or *.p7m file if
ueno [Wed, 20 Dec 2006 05:29:43 +0000 (05:29 +0000)]
* epa.el (epa-sign-file): Save the output to *.p7s or *.p7m file if
epa-protocol is CMS.
(epa-encrypt-file): Ditto.

17 years ago* epa.el (epa-list-keys): Added doc.
ueno [Wed, 20 Dec 2006 04:01:15 +0000 (04:01 +0000)]
* epa.el (epa-list-keys): Added doc.

17 years ago* epa.el (epa-list-keys): Abolished PROTOCOL arg.
ueno [Wed, 20 Dec 2006 03:51:03 +0000 (03:51 +0000)]
* epa.el (epa-list-keys): Abolished PROTOCOL arg.

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.

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

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

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