elisp/epg.git
18 years agoSet inhibit-redisplay because some Gnus users complain display
ueno [Tue, 25 Apr 2006 06:50:50 +0000 (06:50 +0000)]
Set inhibit-redisplay because some Gnus users complain display
flickering (this is not a problem, though)

18 years agoCreate pgg-output-buffer everytime cryptographic operations are called.
ueno [Tue, 25 Apr 2006 06:35:34 +0000 (06:35 +0000)]
Create pgg-output-buffer everytime cryptographic operations are called.

18 years agoFixed error message.
ueno [Tue, 25 Apr 2006 06:05:24 +0000 (06:05 +0000)]
Fixed error message.

18 years agoFixed error message.
ueno [Tue, 25 Apr 2006 06:03:43 +0000 (06:03 +0000)]
Fixed error message.

18 years ago* epg.el (epg-sign-file): Signal an error only when a signature is not
ueno [Tue, 25 Apr 2006 05:52:00 +0000 (05:52 +0000)]
* epg.el (epg-sign-file): Signal an error only when a signature is not
created.
(epg-sign-string): Ditto.
(epg-encrypt-file): Signal an error if SIGN is specified and
signature is not created.
(epg-encrypt-string): Ditto.

18 years agoAllow user to select signers.
ueno [Tue, 25 Apr 2006 05:37:00 +0000 (05:37 +0000)]
Allow user to select signers.

18 years agoFixed.
ueno [Tue, 25 Apr 2006 05:29:11 +0000 (05:29 +0000)]
Fixed.

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

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

18 years ago* epg.el (epg-process-sentinel): New function; set 'error if gpg
ueno [Tue, 25 Apr 2006 01:04:35 +0000 (01:04 +0000)]
* epg.el (epg-process-sentinel): New function; set 'error if gpg
process exited abnormally, but we have not received an error
response from it.

18 years ago(epa-keys-mode): Make epa-exit-buffer-function local.
ueno [Mon, 24 Apr 2006 09:42:42 +0000 (09:42 +0000)]
(epa-keys-mode): Make epa-exit-buffer-function local.

18 years agoFixed.
ueno [Mon, 24 Apr 2006 06:55:23 +0000 (06:55 +0000)]
Fixed.

18 years agoFixed regexp.
ueno [Mon, 24 Apr 2006 06:47:56 +0000 (06:47 +0000)]
Fixed regexp.

18 years agoMerged epgsm.
ueno [Sun, 23 Apr 2006 01:10:13 +0000 (01:10 +0000)]
Merged epgsm.

18 years agoIgnore autogenerated files. epgsm-branchpoint
ueno [Fri, 21 Apr 2006 23:52:27 +0000 (23:52 +0000)]
Ignore autogenerated files.

18 years agoSilence write-region.
ueno [Fri, 21 Apr 2006 06:54:46 +0000 (06:54 +0000)]
Silence write-region.

18 years ago* epa.el (epa-sign-keys): New command.
ueno [Fri, 21 Apr 2006 06:41:55 +0000 (06:41 +0000)]
* epa.el (epa-sign-keys): New command.

* epg.el (epg-start-sign-keys): New function.
(epg-sign-keys): New function.
(epg-status-GET_HIDDEN): Enable local quit.
(epg-status-GET_BOOL): Ditto.
(epg-status-GET_LINE): Ditto.

18 years agoFixed.
ueno [Fri, 21 Apr 2006 02:31:44 +0000 (02:31 +0000)]
Fixed.

18 years agoFixed.
ueno [Fri, 21 Apr 2006 02:30:49 +0000 (02:30 +0000)]
Fixed.

18 years agoFixed.
ueno [Fri, 21 Apr 2006 02:29:59 +0000 (02:29 +0000)]
Fixed.

18 years agoAdded autoload.
ueno [Fri, 21 Apr 2006 02:20:55 +0000 (02:20 +0000)]
Added autoload.

18 years agoFixed.
ueno [Fri, 21 Apr 2006 02:19:03 +0000 (02:19 +0000)]
Fixed.

18 years ago* epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
ueno [Thu, 20 Apr 2006 09:47:29 +0000 (09:47 +0000)]
* epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
region.

18 years ago* epg.el (epg-start-encrypt): RECIPIENTS is now a list of key objects.
ueno [Thu, 20 Apr 2006 08:21:32 +0000 (08:21 +0000)]
* epg.el (epg-start-encrypt): RECIPIENTS is now a list of key objects.

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

18 years agoFixed passphrase caching.
ueno [Thu, 20 Apr 2006 08:12:39 +0000 (08:12 +0000)]
Fixed passphrase caching.

18 years ago* pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
ueno [Thu, 20 Apr 2006 06:47:58 +0000 (06:47 +0000)]
* pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
(pgg-epg-passphrase-callback): New function.

18 years agoRemove auto-autoloads.el~
ueno [Thu, 20 Apr 2006 06:47:27 +0000 (06:47 +0000)]
Remove auto-autoloads.el~

18 years agoFixed.
ueno [Thu, 20 Apr 2006 06:01:34 +0000 (06:01 +0000)]
Fixed.

18 years ago(epg-verify-result-to-string): Don't reverse signature list.
ueno [Thu, 20 Apr 2006 05:48:26 +0000 (05:48 +0000)]
(epg-verify-result-to-string): Don't reverse signature list.

18 years agoReverted.
ueno [Thu, 20 Apr 2006 05:41:26 +0000 (05:41 +0000)]
Reverted.

18 years agoFixed.
ueno [Thu, 20 Apr 2006 05:27:33 +0000 (05:27 +0000)]
Fixed.

18 years ago* epa.el (epa-select-keys): Added "Cancel" button.
ueno [Thu, 20 Apr 2006 05:25:45 +0000 (05:25 +0000)]
* epa.el (epa-select-keys): Added "Cancel" button.
* epg.el (epg-make-verify-result): Renamed epg-signature to
epg-verify-result.

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.