elisp/epg.git
18 years ago* epg.el (epg-signature-to-string): New function.
ueno [Thu, 20 Apr 2006 04:11:39 +0000 (04:11 +0000)]
* epg.el (epg-signature-to-string): New function.

18 years ago* epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
ueno [Thu, 20 Apr 2006 03:29:01 +0000 (03:29 +0000)]
* epa-file.el (epa-file-write-region): RECIPIENTS is now a list of
key objects.
* epa-dired.el (epa-dired-do-encrypt): RECIPIENTS is now a list of
key objects.

* epa.el (epa-select-keys): Added MODE argument.
(epa-encrypt-file): RECIPIENTS is now a list of key objects.

* epg.el (epg-status-SIG_CREATED): New function.
(epg-start-sign): epg-context-signers is now a list of key objects.
(epg-start-encrypt): RECIPIENTS is now a list of key objects.

18 years agorevert-buffer is not necessary for epa-dired-do-verify.
ueno [Wed, 19 Apr 2006 09:02:39 +0000 (09:02 +0000)]
revert-buffer is not necessary for epa-dired-do-verify.

18 years ago* epa.el (epa-verify-file): Show results in minibuffer.
ueno [Wed, 19 Apr 2006 08:50:16 +0000 (08:50 +0000)]
* epa.el (epa-verify-file): Show results in minibuffer.
* epg.el (epg-debug-buffer): New variable.
(epg-flush): New function.

18 years agoReverted.
ueno [Tue, 18 Apr 2006 23:43:12 +0000 (23:43 +0000)]
Reverted.

18 years agoAdded --yes.
ueno [Tue, 18 Apr 2006 22:33:57 +0000 (22:33 +0000)]
Added --yes.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 22:33:42 +0000 (22:33 +0000)]
Fixed.

18 years ago* epg.el (epg-process-filter): Call epg-after-status-XXXXX-function.
ueno [Tue, 18 Apr 2006 22:32:18 +0000 (22:32 +0000)]
* epg.el (epg-process-filter): Call epg-after-status-XXXXX-function.

18 years ago* epg.el (epg-status-GET_HIDDEN): Don't pass KEY-ID to
ueno [Tue, 18 Apr 2006 22:23:02 +0000 (22:23 +0000)]
* epg.el (epg-status-GET_HIDDEN): Don't pass KEY-ID to
passphrase-callback-function.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 10:50:00 +0000 (10:50 +0000)]
Fixed.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 10:36:50 +0000 (10:36 +0000)]
Fixed.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 10:09:15 +0000 (10:09 +0000)]
Fixed.

18 years agoexpand-file-name, etc.
ueno [Tue, 18 Apr 2006 10:08:04 +0000 (10:08 +0000)]
expand-file-name, etc.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 10:01:18 +0000 (10:01 +0000)]
Fixed.

18 years ago* epa.el (epa-export-keys): New command.
ueno [Tue, 18 Apr 2006 10:00:18 +0000 (10:00 +0000)]
* epa.el (epa-export-keys): New command.
* epg.el (epg-start-export-keys): Accept a list of epg-key object
instead of a regexp.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 09:32:55 +0000 (09:32 +0000)]
Fixed.

18 years ago* epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
ueno [Tue, 18 Apr 2006 09:31:42 +0000 (09:31 +0000)]
* epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
(epa-import-key): New command.

18 years ago* epg.el (epg-delete-problem-alist): New constant.
ueno [Tue, 18 Apr 2006 09:21:13 +0000 (09:21 +0000)]
* epg.el (epg-delete-problem-alist): New constant.
(epg-status-DELETE_PROBLEM): New function.
(epg-start-delete-key): New function.
(epg-delete-key): New function.
(epg-wait-for-completion): Add the NO-EOF argument.

18 years agoNot specify --yes.
ueno [Tue, 18 Apr 2006 08:45:50 +0000 (08:45 +0000)]
Not specify --yes.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 08:43:52 +0000 (08:43 +0000)]
Fixed.

18 years ago* epg.el (epg-start): Insert the command-line arguments to the
ueno [Tue, 18 Apr 2006 08:38:47 +0000 (08:38 +0000)]
* epg.el (epg-start): Insert the command-line arguments to the
debug buffer.
(epg-start-encrypt): Wait for BEGIN_ENCRYPTION.

* epa.el (epa-key): New widget.
(epa-key-widget-action): New function.
(epa-key-widget-value-create): New function.
(epa-key-widget-button-face-get): New function.
(epa-key-widget-help-echo): New function.

18 years agoFixed.
ueno [Tue, 18 Apr 2006 08:05:27 +0000 (08:05 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 10:41:17 +0000 (10:41 +0000)]
Fixed.

18 years ago* epa-file.el (epa-file-write-region): Check if START is a string.
ueno [Mon, 17 Apr 2006 10:35:27 +0000 (10:35 +0000)]
* epa-file.el (epa-file-write-region): Check if START is a string.

18 years agoCheck empty validity.
ueno [Mon, 17 Apr 2006 09:28:51 +0000 (09:28 +0000)]
Check empty validity.

18 years ago* epa-file.el: Rewritten with file-name-handler.
ueno [Mon, 17 Apr 2006 08:40:53 +0000 (08:40 +0000)]
* epa-file.el: Rewritten with file-name-handler.
(epa-file-handler): New variable.
(epa-file-enable): New command.
(epa-file-disable): New command.
* epa-setup.el: Call epa-file-enable.

18 years agoAdded cipher-algorithm, digest-algorithm, compress-algorithm to epg-context.
ueno [Mon, 17 Apr 2006 08:35:12 +0000 (08:35 +0000)]
Added cipher-algorithm, digest-algorithm, compress-algorithm to epg-context.

18 years agoFixed signal args.
ueno [Mon, 17 Apr 2006 08:16:10 +0000 (08:16 +0000)]
Fixed signal args.

18 years agoSignal 'file-error if cryptographic operations fail.
ueno [Mon, 17 Apr 2006 08:11:10 +0000 (08:11 +0000)]
Signal 'file-error if cryptographic operations fail.

18 years agoFixed passphrase caching.
ueno [Mon, 17 Apr 2006 07:46:36 +0000 (07:46 +0000)]
Fixed passphrase caching.

18 years ago* epa-file.el: Rewritten with file-name-handler.
ueno [Mon, 17 Apr 2006 07:39:28 +0000 (07:39 +0000)]
* epa-file.el: Rewritten with file-name-handler.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 06:19:43 +0000 (06:19 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 05:50:24 +0000 (05:50 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 05:43:03 +0000 (05:43 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 05:23:22 +0000 (05:23 +0000)]
Fixed.

18 years ago* epa-file.el (epa-passphrase): New variable.
ueno [Mon, 17 Apr 2006 05:22:59 +0000 (05:22 +0000)]
* epa-file.el (epa-passphrase): New variable.
(epa-file-passphrase-callback-function): New function.
(epa-find-file): Reset buffer-undo-list; set
buffer-file-coding-system to last-coding-system-used after
decoding.

18 years ago* epa-file.el (epa-write-file): Try to write region to "/" to get
ueno [Mon, 17 Apr 2006 04:57:22 +0000 (04:57 +0000)]
* epa-file.el (epa-write-file): Try to write region to "/" to get
last-coding-system-used to be set.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 04:16:36 +0000 (04:16 +0000)]
Fixed.

18 years agoset-buffer-multibyte.
ueno [Mon, 17 Apr 2006 04:15:40 +0000 (04:15 +0000)]
set-buffer-multibyte.

18 years agoFixed custom.
ueno [Mon, 17 Apr 2006 04:13:15 +0000 (04:13 +0000)]
Fixed custom.

18 years agoFixed custom.
ueno [Mon, 17 Apr 2006 04:12:21 +0000 (04:12 +0000)]
Fixed custom.

18 years ago* epa-file.el: New implementation of epf.el.
ueno [Mon, 17 Apr 2006 04:06:04 +0000 (04:06 +0000)]
* epa-file.el: New implementation of epf.el.
* epf.el: Abolished.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 03:16:41 +0000 (03:16 +0000)]
Fixed.

18 years agoFixed.
ueno [Mon, 17 Apr 2006 03:02:12 +0000 (03:02 +0000)]
Fixed.

18 years agoexpand-file-name
ueno [Mon, 17 Apr 2006 02:46:07 +0000 (02:46 +0000)]
expand-file-name

18 years ago* epa.el (epa-verify-file): Display verify result.
ueno [Mon, 17 Apr 2006 02:13:42 +0000 (02:13 +0000)]
* epa.el (epa-verify-file): Display verify result.

18 years agoFixed error messages.
ueno [Mon, 17 Apr 2006 02:04:03 +0000 (02:04 +0000)]
Fixed error messages.

18 years agoFixed error messages.
ueno [Mon, 17 Apr 2006 02:02:26 +0000 (02:02 +0000)]
Fixed error messages.

18 years ago* epg.el (epg-invalid-recipients-alist): New variable.
ueno [Mon, 17 Apr 2006 01:58:52 +0000 (01:58 +0000)]
* epg.el (epg-invalid-recipients-alist): New variable.
(epg-status-INV_RECP): New function.
(epg-status-NO_RECP): New function.

18 years agoAdded header.
ueno [Mon, 17 Apr 2006 01:50:35 +0000 (01:50 +0000)]
Added header.

18 years agoFixed doc.
ueno [Mon, 17 Apr 2006 01:38:34 +0000 (01:38 +0000)]
Fixed doc.

18 years agoFixed doc.
ueno [Mon, 17 Apr 2006 01:36:10 +0000 (01:36 +0000)]
Fixed doc.

18 years ago* epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
ueno [Mon, 17 Apr 2006 01:19:19 +0000 (01:19 +0000)]
* epa.el (epa-keys-mode-map): Bind epa-decrypt-file,
epa-verify-file, epa-sign-file, and epa-encrypt-file.
(epa-decrypt-file): New function imported from epa-dired.el.
(epa-verify-file): New function imported from epa-dired.el.
(epa-sign-file): New function imported from epa-dired.el.
(epa-encrypt-file): New function imported from epa-dired.el.

18 years ago"Close" -> "OK"
ueno [Sun, 16 Apr 2006 22:12:07 +0000 (22:12 +0000)]
"Close" -> "OK"

18 years agoAdd "Close" button on epa-select-keys.
ueno [Sun, 16 Apr 2006 21:51:52 +0000 (21:51 +0000)]
Add "Close" button on epa-select-keys.

18 years agoSimplified.
ueno [Sun, 16 Apr 2006 21:31:15 +0000 (21:31 +0000)]
Simplified.

18 years ago* epa.el (epa-select-keys): Renamed from epa-ask-keys; use
ueno [Sun, 16 Apr 2006 21:22:07 +0000 (21:22 +0000)]
* epa.el (epa-select-keys): Renamed from epa-ask-keys; use
recursive-edit.
* epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.

18 years ago(epa-dired-decrypt-file): Query user for a new file.
ueno [Sun, 16 Apr 2006 20:01:19 +0000 (20:01 +0000)]
(epa-dired-decrypt-file): Query user for a new file.

18 years agoFixed prompt.
ueno [Sun, 16 Apr 2006 19:47:56 +0000 (19:47 +0000)]
Fixed prompt.

18 years agoFixed.
ueno [Sun, 16 Apr 2006 19:42:35 +0000 (19:42 +0000)]
Fixed.

18 years agoFixed indentation.
ueno [Sun, 16 Apr 2006 19:41:01 +0000 (19:41 +0000)]
Fixed indentation.

18 years ago* epa-setup.el: New file.
ueno [Sun, 16 Apr 2006 19:39:19 +0000 (19:39 +0000)]
* epa-setup.el: New file.
* epa-dired.el: New file.

* epg.el (epg-colons-pub-spec): Abolished.
(epg-colons-sec-spec): Abolished.
(epg-colons-uid-spec): Abolished.
(epg-colons-fpr-spec): Abolished.
(epg-key-validity-alist): New variable.
(epg-key-capablity-alist): New variable.
(epg-make-key): New object epg-key.
(epg-make-sub-key): New object epg-sub-key.
(epg-make-user-id): New object epg-user-id.
(epg-list-keys-1): Renamed from epg-list-keys.
(epg-list-keys): Rewritten.

18 years agoFixed.
ueno [Thu, 13 Apr 2006 09:17:52 +0000 (09:17 +0000)]
Fixed.

18 years agoAdded epa.
ueno [Thu, 13 Apr 2006 09:15:09 +0000 (09:15 +0000)]
Added epa.

18 years ago* epa.el: Added header.
ueno [Thu, 13 Apr 2006 09:12:48 +0000 (09:12 +0000)]
* epa.el: Added header.

* epg.el (epg-list-keys): Specify --with-fingerprint.
(epg-colons-fpr-spec): New variable.
(epg-colons-pub-spec): Renamed trust -> validity and ownertrust ->
owner-trust.
(epg-colons-sec-spec): Ditto.
(epg-colons-uid-spec): Renamed trust -> validity.

18 years agoDon't add secret key-id's to encryption recipients.
ueno [Thu, 13 Apr 2006 08:52:59 +0000 (08:52 +0000)]
Don't add secret key-id's to encryption recipients.

18 years ago* epa.el: New file.
ueno [Thu, 13 Apr 2006 08:50:37 +0000 (08:50 +0000)]
* epa.el: New file.

18 years ago* epg.el (epg-start): Don't specify --yes.
ueno [Thu, 13 Apr 2006 08:49:54 +0000 (08:49 +0000)]
* epg.el (epg-start): Don't specify --yes.

18 years agoFixed.
ueno [Thu, 13 Apr 2006 08:29:50 +0000 (08:29 +0000)]
Fixed.

18 years ago* epg.el (epg-cipher-algorithm-alist): New constant.
ueno [Thu, 13 Apr 2006 06:22:29 +0000 (06:22 +0000)]
* epg.el (epg-cipher-algorithm-alist): New constant.
(epg-pubkey-algorithm-alist): New constant.
(epg-digest-algorithm-alist): New constant.
(epg-compress-algorithm-alist): New constant.
(epg-configuration): New function.

18 years ago* epg.el (epg-make-data-from-file): New function.
ueno [Thu, 13 Apr 2006 04:52:48 +0000 (04:52 +0000)]
* epg.el (epg-make-data-from-file): New function.
(epg-make-data-from-string): New function.
(epg-data-file): New function.
(epg-data-string): New function.
(epg-start-decrypt): Get a cipher text from a data object.
(epg-delete-output-file): New function.
(epg-decrypt-file): Add the 3rd argument PLAIN to specify where
the output goes.
(epg-start-verify): Get a signature and signed-text from a data
object.
(epg-verify-file): Added the 3rd argument PLAIN to specify where
the output goes; return the plain text if PLAIN is nil.
(epg-verify-string): Return the plain text.
(epg-start-sign): Get a plain text from a data object.
(epg-sign-file): Added the 3rd argument SIGNATURE to specify where
the output goes.
(epg-start-encrypt): Get a plain text from a data object.
(epg-encrypt-file): Added the 4th argument CIPHER to specify where
the output goes.
(epg-start-import-keys): Get keys from a data object.
(epg-import-keys-1): New function.
(epg-import-keys-from-file): Use it.
(epg-import-keys-from-string): Use it.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 23:05:00 +0000 (23:05 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 23:04:44 +0000 (23:04 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 23:04:19 +0000 (23:04 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 23:01:35 +0000 (23:01 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 23:01:23 +0000 (23:01 +0000)]
Fixed.

18 years ago* epf.el: Renamed from epg-file.el.
ueno [Wed, 12 Apr 2006 22:59:42 +0000 (22:59 +0000)]
* epf.el: Renamed from epg-file.el.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 11:19:11 +0000 (11:19 +0000)]
Fixed.

18 years ago* epg.el (epg-status-GET_BOOL): New function.
ueno [Wed, 12 Apr 2006 11:10:00 +0000 (11:10 +0000)]
* epg.el (epg-status-GET_BOOL): New function.
(epg-status-GET_LINE): New function.
(epg-prompt-alist): New variable, to be filled.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 10:46:29 +0000 (10:46 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 10:46:06 +0000 (10:46 +0000)]
Fixed.

18 years agoAdded installation section.
ueno [Wed, 12 Apr 2006 10:44:52 +0000 (10:44 +0000)]
Added installation section.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 10:42:31 +0000 (10:42 +0000)]
Fixed.

18 years agoAdded more information.
ueno [Wed, 12 Apr 2006 10:00:43 +0000 (10:00 +0000)]
Added more information.

18 years agoPGG -> Gnus/PGG
ueno [Wed, 12 Apr 2006 09:45:34 +0000 (09:45 +0000)]
PGG -> Gnus/PGG

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:44:54 +0000 (09:44 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:44:46 +0000 (09:44 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:42:11 +0000 (09:42 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:41:55 +0000 (09:41 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:41:23 +0000 (09:41 +0000)]
Fixed.

18 years agoAdded Gnus/PGG setting.
ueno [Wed, 12 Apr 2006 09:40:56 +0000 (09:40 +0000)]
Added Gnus/PGG setting.

18 years ago* pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
ueno [Wed, 12 Apr 2006 09:26:23 +0000 (09:26 +0000)]
* pgg-epg.el (mml2015-gpg-extract-signature-details): New function.
* epg.el (epg-signature-fingerprint): New function.
(epg-signature-set-fingerprint): New function.
(epg-status-VALIDSIG): New function.

18 years ago* epg.el (epg-reset): Don't reset result.
ueno [Wed, 12 Apr 2006 09:11:26 +0000 (09:11 +0000)]
* epg.el (epg-reset): Don't reset result.
(epg-start-decrypt): Reset result before epg-start.
(epg-start-verify): Ditto.
(epg-start-sign): Ditto.
(epg-start-encrypt): Ditto.
(epg-start-export-keys): Ditto.
(epg-start-import-keys): Ditto.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 09:11:06 +0000 (09:11 +0000)]
Fixed.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 08:53:47 +0000 (08:53 +0000)]
Fixed.

18 years ago* Makefile.am (EXTRA_DIST): Added pgg-epg.el.
ueno [Wed, 12 Apr 2006 08:51:18 +0000 (08:51 +0000)]
* Makefile.am (EXTRA_DIST): Added pgg-epg.el.
* pgg-epg.el: New file.

18 years ago* pgg-epg.el: New file.
ueno [Wed, 12 Apr 2006 08:49:43 +0000 (08:49 +0000)]
* pgg-epg.el: New file.

* epg.el (epg-start-export-keys): New function.
(epg-export-keys): New function.
(epg-start-import-keys): New function.
(epg-import-keys): New function.
(epg-verify-file): New function.

* epg.el (epg-passphrase-callback-function): Always display key-id.

18 years ago* epg.el (epg-start-export-keys): New function.
ueno [Wed, 12 Apr 2006 08:21:19 +0000 (08:21 +0000)]
* epg.el (epg-start-export-keys): New function.
(epg-export-keys): New function.
(epg-start-import-keys): New function.
(epg-import-keys): New function.

* epg.el (epg-passphrase-callback-function): Always display key-id.

18 years agoRenamed epg-*-start to epg-start-* to avoid confusion in completion.
ueno [Wed, 12 Apr 2006 08:06:27 +0000 (08:06 +0000)]
Renamed epg-*-start to epg-start-* to avoid confusion in completion.

18 years agoFixed.
ueno [Wed, 12 Apr 2006 07:58:41 +0000 (07:58 +0000)]
Fixed.