elisp/epg.git
17 years agoNew branch for utilizing PLAINTEXT status code. plaintext
ueno [Fri, 9 Mar 2007 01:59:46 +0000 (01:59 +0000)]
New branch for utilizing PLAINTEXT status code.

17 years agoThis commit was manufactured by cvs2svn to create branch 'plaintext'.
tomo [Thu, 8 Mar 2007 11:46:54 +0000 (11:46 +0000)]
This commit was manufactured by cvs2svn to create branch 'plaintext'.

17 years agoUndo the last change. plaintext-branchpoint
ueno [Thu, 8 Mar 2007 11:46:52 +0000 (11:46 +0000)]
Undo the last change.

17 years ago* epg.el (epg-verify-file): Don't use a temp output file.
ueno [Thu, 8 Mar 2007 11:12:54 +0000 (11:12 +0000)]
* epg.el (epg-verify-file): Don't use a temp output file.
(epg-verify-string): Ditto.

17 years ago* epg.el (epg--status-BEGIN_DECRYPTION): New function; reset 'plaintext
ueno [Thu, 8 Mar 2007 11:09:06 +0000 (11:09 +0000)]
* epg.el (epg--status-BEGIN_DECRYPTION): New function; reset 'plaintext
result.
(epg--status-DECRYPTION_OKAY): Copy 'plaintext result to
'decrypted-plaintext.

17 years ago* epg.el (epg-wait-for-plaintext): New function.
ueno [Thu, 8 Mar 2007 10:56:59 +0000 (10:56 +0000)]
* epg.el (epg-wait-for-plaintext): New function.
(epg--status-PLAINTEXT_LENGTH): New function.
(epg-decrypt-string): Don't use a temp output file.

17 years agoSimplified.
ueno [Thu, 8 Mar 2007 09:38:26 +0000 (09:38 +0000)]
Simplified.

17 years agoFixed the last change.
ueno [Thu, 8 Mar 2007 09:03:51 +0000 (09:03 +0000)]
Fixed the last change.

17 years ago* epg.el (epg-list-keys): Parse GnuPG's print_string escape.
ueno [Thu, 8 Mar 2007 05:10:04 +0000 (05:10 +0000)]
* epg.el (epg-list-keys): Parse GnuPG's print_string escape.

17 years ago* epa-mail.el (epa-mail-mode-hook): New variable.
ueno [Thu, 8 Mar 2007 03:06:26 +0000 (03:06 +0000)]
* epa-mail.el (epa-mail-mode-hook): New variable.
(epa-mail-mode-on-hook): New variable.
(epa-mail-mode-off-hook): New variable.

17 years agoDon't parse username as DN in USERID_HINT and IMPORTED status handlers.
ueno [Thu, 8 Mar 2007 03:04:01 +0000 (03:04 +0000)]
Don't parse username as DN in USERID_HINT and IMPORTED status handlers.

17 years agoIgnore epg-package-info.el.
ueno [Thu, 8 Mar 2007 02:37:38 +0000 (02:37 +0000)]
Ignore epg-package-info.el.

17 years ago* epg.el (epg--start): Make the process-buffer unibyte.
ueno [Thu, 8 Mar 2007 02:36:56 +0000 (02:36 +0000)]
* epg.el (epg--start): Make the process-buffer unibyte.
(epg--status-USERID_HINT): Decode user-id.
(epg--status-IMPORTED): Decode user-id.

17 years agoUndo the last change.
ueno [Thu, 8 Mar 2007 02:01:36 +0000 (02:01 +0000)]
Undo the last change.

17 years agoFixed.
ueno [Wed, 7 Mar 2007 23:35:19 +0000 (23:35 +0000)]
Fixed.

17 years ago* epg.el (epg--list-keys-1): Set coding-system-for-read to binary.1
ueno [Wed, 7 Mar 2007 23:35:05 +0000 (23:35 +0000)]
* epg.el (epg--list-keys-1): Set coding-system-for-read to binary.1
(epg-list-keys): Decode user-id.

17 years ago* epg.el (epg--start): Don't specify --use-agent if the protocol
ueno [Wed, 7 Mar 2007 23:28:39 +0000 (23:28 +0000)]
* epg.el (epg--start): Don't specify --use-agent if the protocol
is CMS; set coding-system-for-read to binary.
(epg--status-*SIG): Decode user-id.

17 years ago* epg.el (epg--start): Don't specify --use-agent if the protocol
ueno [Wed, 7 Mar 2007 01:45:03 +0000 (01:45 +0000)]
* epg.el (epg--start): Don't specify --use-agent if the protocol
is CMS.

17 years agoRemoved autoload cookie for epa-mail-mode.
ueno [Sat, 3 Feb 2007 10:45:25 +0000 (10:45 +0000)]
Removed autoload cookie for epa-mail-mode.

17 years ago* epa-file.el (epa-file-write-region): Set a dummy filename
ueno [Fri, 2 Feb 2007 09:51:18 +0000 (09:51 +0000)]
* epa-file.el (epa-file-write-region): Set a dummy filename
for buffer-file-name when calling select-safe-coding-system.

17 years agoSimplified prompt.
ueno [Wed, 31 Jan 2007 03:27:46 +0000 (03:27 +0000)]
Simplified prompt.

17 years agoFixed prompt.
ueno [Wed, 31 Jan 2007 03:19:16 +0000 (03:19 +0000)]
Fixed prompt.

17 years agoSimplified.
ueno [Tue, 30 Jan 2007 05:45:18 +0000 (05:45 +0000)]
Simplified.

17 years agoFixed prompt.
ueno [Tue, 30 Jan 2007 05:44:36 +0000 (05:44 +0000)]
Fixed prompt.

17 years agoFixed.
ueno [Tue, 30 Jan 2007 05:42:05 +0000 (05:42 +0000)]
Fixed.

17 years agoMake epg-last-status buffer local.
ueno [Tue, 30 Jan 2007 05:41:43 +0000 (05:41 +0000)]
Make epg-last-status buffer local.

17 years ago* epg.el (epg-last-status): New variable.
ueno [Tue, 30 Jan 2007 05:40:43 +0000 (05:40 +0000)]
* epg.el (epg-last-status): New variable.
(epg--process-filter): Set epg-last-status after calling a status
handler.
(epg--prompt-GET_BOOL): New function.
(epg--prompt-GET_BOOL-untrusted_key.override): New function.
(epg--status-GET_BOOL): Call epg--prompt-GET_BOOL-* instead of
y-or-n-p.

17 years ago* EasyPG: Version 0.0.10 released. epg-0_0_10
ueno [Mon, 29 Jan 2007 04:03:40 +0000 (04:03 +0000)]
* EasyPG: Version 0.0.10 released.
* configure.ac: Bump up version.

17 years agoFixed.
ueno [Mon, 29 Jan 2007 04:03:03 +0000 (04:03 +0000)]
Fixed.

17 years ago* configure.ac: Generate epg-package-info.el.
ueno [Mon, 29 Jan 2007 04:02:32 +0000 (04:02 +0000)]
* configure.ac: Generate epg-package-info.el.
* Makefile.am (DISTCLEANFILES): Added epg-package-info.el.
* COMPILE (epg-modules): Added epg-package-info.
* epg-package-info.el.in: New file.

17 years agoUpdate.
ueno [Mon, 29 Jan 2007 03:54:24 +0000 (03:54 +0000)]
Update.

17 years agoFixed keymap.
ueno [Mon, 29 Jan 2007 03:49:55 +0000 (03:49 +0000)]
Fixed keymap.

17 years agoFixed.
ueno [Mon, 29 Jan 2007 03:47:31 +0000 (03:47 +0000)]
Fixed.

17 years agoFixed lighter.
ueno [Mon, 29 Jan 2007 03:46:49 +0000 (03:46 +0000)]
Fixed lighter.

17 years agoFixed.
ueno [Mon, 29 Jan 2007 03:45:16 +0000 (03:45 +0000)]
Fixed.

17 years ago* epa-setup.el (epa-mail-mode): Autoload.
ueno [Mon, 29 Jan 2007 03:43:30 +0000 (03:43 +0000)]
* epa-setup.el (epa-mail-mode): Autoload.

17 years agoFixed.
ueno [Mon, 29 Jan 2007 03:37:43 +0000 (03:37 +0000)]
Fixed.

17 years ago* epa.el: Removed epa-*-mail stuff.
ueno [Mon, 29 Jan 2007 03:36:38 +0000 (03:36 +0000)]
* epa.el: Removed epa-*-mail stuff.
* Makefile.am (EXTRA_DIST): Added epa-mail.el.
* COMPILE (epg-modules): Added epa-mail.
* epa-mail.el: New file.

17 years ago* epa.el (epa-select-keys): Fix the last change.
hmurata [Sat, 6 Jan 2007 01:14:24 +0000 (01:14 +0000)]
* epa.el (epa-select-keys): Fix the last change.

17 years agoRemoved a period.
ueno [Sat, 6 Jan 2007 00:26:36 +0000 (00:26 +0000)]
Removed a period.

17 years ago* epg-pgp50i.el: Removed.
ueno [Fri, 5 Jan 2007 23:57:42 +0000 (23:57 +0000)]
* epg-pgp50i.el: Removed.

17 years ago* epg.el (epg--decode-hexstring): "\\x" -> "\\\\x".
ueno [Fri, 5 Jan 2007 23:43:25 +0000 (23:43 +0000)]
* epg.el (epg--decode-hexstring): "\\x" -> "\\\\x".
(epg--decode-quotedstring): Ditto.

17 years agoFixed.
ueno [Fri, 5 Jan 2007 23:30:28 +0000 (23:30 +0000)]
Fixed.

17 years ago* epg.el (epg--make-sub-key-1): Don't set expiration-time if it is "0".
ueno [Fri, 5 Jan 2007 23:28:17 +0000 (23:28 +0000)]
* epg.el (epg--make-sub-key-1): Don't set expiration-time if it is "0".

17 years ago* epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
ueno [Fri, 5 Jan 2007 22:28:30 +0000 (22:28 +0000)]
* epa.el (epa-key-list-mode-map): Renamed from epa-keys-mode-map.
(epa-key-list-mode): Renamed from epa-keys-mode.  All callers
changed.

* epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
is "0".

17 years ago* pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
ueno [Fri, 5 Jan 2007 00:34:43 +0000 (00:34 +0000)]
* pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
recipient whose public key is not available.

17 years ago* epa.el (epa-encrypt-mail): Ask a user whether to skip a
ueno [Fri, 5 Jan 2007 00:28:23 +0000 (00:28 +0000)]
* epa.el (epa-encrypt-mail): Ask a user whether to skip a
recipient whose public key is not available.

17 years ago* epa.el (epa-import-mail): Renamed from epa-import.
ueno [Thu, 4 Jan 2007 06:49:27 +0000 (06:49 +0000)]
* epa.el (epa-import-mail): Renamed from epa-import.

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.