elisp/epg.git
17 years ago* epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
ueno [Thu, 4 Jan 2007 06:48:11 +0000 (06:48 +0000)]
* epa.el (epa-decrypt-mail): Renamed from epa-decrypt.
(epa-verify-mail): Renamed from epa-verify.
(epa-sign-mail): Renamed from epa-sign.
(epa-encrypt-mail): Renamed from epa-encrypt.

17 years ago* configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.
ueno [Thu, 4 Jan 2007 05:45:12 +0000 (05:45 +0000)]
* configure.ac: Don't exit if GnuPG (>= 1.4.3) is unavailable.

17 years ago* configure.ac: Use AC_MSG_WARN instead of AC_MSG_ERROR.
ueno [Thu, 4 Jan 2007 05:42:53 +0000 (05:42 +0000)]
* configure.ac: Use AC_MSG_WARN instead of AC_MSG_ERROR.

17 years ago* epg.el (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
ueno [Thu, 4 Jan 2007 05:09:41 +0000 (05:09 +0000)]
* epg.el (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
fallback to use a temp file as an input.
(epg-encrypt-string): Ditto.

17 years agoUpdate.
ueno [Thu, 4 Jan 2007 03:49:57 +0000 (03:49 +0000)]
Update.

17 years agoReverted.
ueno [Thu, 4 Jan 2007 03:48:18 +0000 (03:48 +0000)]
Reverted.

17 years ago* configure.ac: Don't check GnuPG version.
ueno [Thu, 4 Jan 2007 03:44:52 +0000 (03:44 +0000)]
* configure.ac: Don't check GnuPG version.

17 years agoAdded 0.0.10 changes.
ueno [Thu, 4 Jan 2007 03:44:09 +0000 (03:44 +0000)]
Added 0.0.10 changes.

17 years ago* epg.el (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
ueno [Thu, 4 Jan 2007 03:42:11 +0000 (03:42 +0000)]
* epg.el (epg-sign-string): If the GnuPG version is earlier than 1.4.3,
fallback to use a temp file as an input.

17 years ago* epg.el (epg-signature-to-string): Print creation-time and used
ueno [Thu, 4 Jan 2007 02:36:20 +0000 (02:36 +0000)]
* epg.el (epg-signature-to-string): Print creation-time and used
pubkey-algorithm.

17 years agoUpdate.
ueno [Sun, 31 Dec 2006 12:54:29 +0000 (12:54 +0000)]
Update.

17 years agoUpdate.
ueno [Sun, 31 Dec 2006 12:53:28 +0000 (12:53 +0000)]
Update.

17 years ago"*Text*" -> "*Temp*"
ueno [Sun, 31 Dec 2006 12:28:02 +0000 (12:28 +0000)]
"*Text*" -> "*Temp*"

17 years agoFixed.
ueno [Sun, 31 Dec 2006 12:24:42 +0000 (12:24 +0000)]
Fixed.

17 years ago(epa-decrypt-region): Don't use epa-display-info to display plaintext.
ueno [Sun, 31 Dec 2006 12:21:55 +0000 (12:21 +0000)]
(epa-decrypt-region): Don't use epa-display-info to display plaintext.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 11:54:34 +0000 (11:54 +0000)]
Fixed.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 11:52:23 +0000 (11:52 +0000)]
Fixed.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 11:49:46 +0000 (11:49 +0000)]
Fixed.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 11:47:25 +0000 (11:47 +0000)]
Fixed.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 11:27:38 +0000 (11:27 +0000)]
Fixed.

17 years agoReverted.
ueno [Sun, 31 Dec 2006 11:26:14 +0000 (11:26 +0000)]
Reverted.

17 years agoSave current-prefix-arg.
ueno [Sun, 31 Dec 2006 11:17:47 +0000 (11:17 +0000)]
Save current-prefix-arg.

17 years ago* epa.el (epa-encrypt-region): Take 4th argument SIGN.
ueno [Sun, 31 Dec 2006 11:12:43 +0000 (11:12 +0000)]
* epa.el (epa-encrypt-region): Take 4th argument SIGN.
(epa-encrypt): Ditto.

17 years ago* epa.el (epa-progress-callback-function): Use handback as the prompt.
ueno [Sun, 31 Dec 2006 09:06:07 +0000 (09:06 +0000)]
* epa.el (epa-progress-callback-function): Use handback as the prompt.

17 years agoFixed.
ueno [Sun, 31 Dec 2006 08:54:54 +0000 (08:54 +0000)]
Fixed.

17 years agoSimplified.
ueno [Sun, 31 Dec 2006 08:46:55 +0000 (08:46 +0000)]
Simplified.

17 years ago* epa.el (epa--find-coding-system-for-mime-charset): New function.
ueno [Sun, 31 Dec 2006 08:45:38 +0000 (08:45 +0000)]
* epa.el (epa--find-coding-system-for-mime-charset): New function.
(epa-decrypt-armor-in-region): Use it.

17 years ago* epa.el (epa-mail-modes): New user option.
ueno [Sun, 31 Dec 2006 08:21:49 +0000 (08:21 +0000)]
* epa.el (epa-mail-modes): New user option.
(epa--mail-mode-p): New function.
(epa-sign): Use it.
(epa-encrypt): Use it.

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.

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.