Fixed.
[elisp/epg.git] / ChangeLog
index 3a2e62b..cdc2b4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,443 @@
+2006-09-02  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-check-configuration): New function.
+
+       * pgg-epg.el (pgg-epg-lookup-key): New function.
+
+2006-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * EasyPG: Version 0.0.4 released.
+       * epg.el (epg-version-number): Bump up.
+       * configure.ac: Bump up version.
+
+2006-07-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * acinclude.m4 (AC_CHECK_GPG): Run $3 if there is no gpg executable.
+
+2006-07-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-start-encrypt): Extract primary key ID from
+       epg-context-signers.
+       Thanks to Steve Youngs <steve@sxemacs.org>
+
+       * pgg-epg.el (pgg-epg-encrypt-region): Fixed a bug; it didn't
+       give CONTEXT to epg-list-keys.
+       Thanks to Steve Youngs <steve@sxemacs.org>
+
+2006-07-18  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg-pgp50i.el (epg-pgp50i--process-filter): Use
+       epg-process-filter-running instead of epg-pgp50i-status; Don't
+       save-excursion during handler execution.
+       (epg-pgp50i--read-line): Renamed from epg-pgp50i--wait-for-line;
+       don't allow process input.
+       (epg-pgp50i--parse-time): New function.
+       (epg-pgp50i--status-BAD_SIGNATURE): New function.
+
+       * epg.el (epg--process-filter): Don't save-excursion during
+       handler execution.
+
+2006-07-18  Daiki Ueno  <ueno@unixuser.org>
+
+       * acinclude.m4 (AC_CHECK_GPG): Renamed from AC_PATH_GPG.
+
+       * epg.el (epg-process-filter-running): New variable.
+       (epg--start): Setup epg-process-filter-running.
+       (epg--process-filter): Allow only one status handler to run at a
+       time; update epg-read-point everytime the point changes.
+
+2006-07-14  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg-pgp50i.el: New file.
+
+2006-07-13  Daiki Ueno  <ueno@unixuser.org>
+
+       * acinclude.m4 (AC_PATH_GPG): New macro.
+       * configure.ac: Check gpg version.
+       Suggested by Max Froumentin <max@lapin-bleu.net>
+
+2006-07-10  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
+       (epg-signature-to-string): Remove a trailing whitespace.
+
+       * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
+       (epa-toggle-mark): New command.
+
+2006-07-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg-epg.el (pgg-epg-sign-region): Select the signing key matched
+       with pgg-default-user-id.
+       Reported by Elias Oltmanns <oltmanns@uni-bonn.de>
+
+2006-07-01  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-select-keys): If SECRET is specified, select a
+       primary secret key by default.
+
+2006-06-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * EasyPG: Version 0.0.3 released.
+       * epg.el (epg-version-number): Bump up.
+       * configure.ac: Bump up version.
+
+2006-06-12  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-file-insert-file-contents): Don't move the
+       point to the end of the inserted region.
+       Reported by doug <douglas.bagley@gmail.com>
+
+2006-06-01  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-file-insert-file-contents): Support partial read.
+
+2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * epa-file.el (epa-file-write-region): Encode the plain text with
+       coding-system-for-write.
+
+2006-05-30  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-file-insert-file-contents):
+       Decode the decrypted text with coding-system-for-read.
+
+2006-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * EasyPG: Version 0.0.2 released.
+       * epg.el (epg-version-number): Bump up.
+       * configure.ac: Bump up version.
+
+2006-05-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg--time-from-seconds): New function.
+       (epg--status-ERRSIG): Convert seconds from epoch to encoded-time.
+       (epg--status-VALIDSIG): Ditto.
+       (epg--status-KEYEXPIRED): Ditto.
+
+2006-05-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-start-import-keys): Don't specify filename if keys
+       is a string data.
+
+2006-05-27  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg--process-filter): Pass epg-context instead of
+       process to status handlers.
+       (epg--status-NO_PUBKEY): Check if the previous signature's key-id
+       matches with the given key-id.
+
+2006-05-26  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg--status-NO_PUBKEY): Replace the previous signature's
+       status from 'error to 'no-pubkey.
+       (epg--status-ERRSIG): Just add 'error signature to the verify result.
+
+       * epa.el (epa-insert-keys): Renamed from epa-list-keys-1; don't
+       disable inhibit-quit here; make text-properties nonsticky.
+       (epa-popup-info-window): New user option.
+       (epa-info-window-height): New user option.
+       (epa-display-verify-result): New function.
+       (epa-decrypt-file): Use it.
+       (epa-verify-file): Use it.
+       (epa-decrypt-region): Use it.
+       (epa-verify-region): Use it.
+
+       * epg.el (epg-make-context): New slot "operation".
+       (epg-passphrase-callback-function): Confirm passphrase when
+       performing symmetric encryption.
+
+2006-05-25  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-decrypt-file): Display verify result if the message
+       is signed.
+       (epa-decrypt-region): New command.
+       (epa-verify-region): New command.
+       (epa-decrypt-armor-in-region): New command.
+       (epa-verify-armor-in-region): New command.
+       (epa-sign-region): New command.
+       (epa-encrypt-region): New command.
+
+2006-05-11  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-armor): New user option.
+       (epa-textmode): New user option.
+
+2006-05-02  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-make-key-signature): New object epg-key-signature.
+       (epg-list-keys): Collect key signatures.
+       (epg-make-sub-key): Renamed secret -> secret-p.
+       (epg-list-keys-postprocess-one-key): Abolished.
+       (epg-list-keys): Reverse all keys, sub-keys, user-ids, and key
+       signatures by itself.
+       (epg-no-data-reason-alist): New constant.
+       (epg-unexpected-reason-alist): New constant.
+
+2006-05-01  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-invalid-recipients-reason-alist): Renamed.
+       (epg-delete-problem-reason-alist): Renamed.
+       (epg-import-ok-reason-alist): New constant.
+       (epg-import-problem-reason-alist): New constant.
+       (epg-status-IMPORTED): New function.
+       (epg-status-IMPORT_OK): New function.
+       (epg-status-IMPORT_PROBLEM): New function.
+       (epg-start-import-keys): Don't use a temporary output file.
+       (epg-start-receive-keys): New function.
+       (epg-import-keys-from-server): New function.
+       (epg-receive-keys): Alias to epg-import-keys-from-server.
+
+2006-05-01  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-start): Signal an error if the process of CONTEXT is
+       already running for other operations.
+       (epg-flush): Abolished.
+       (epg-start-generate-key): New function.
+       (epg-generate-key-from-file): New function.
+       (epg-generate-key-from-string): New function.
+       (epg-status-KEY_CREATED): New function.
+       (epg-status-KEY_NOT_CREATED): New function.
+       (epg-new-signature-type-alist): New variable.
+       (epg-make-new-signature): New object epg-new-signature.
+       (epg-status-SIG_CREATED): Set epg-new-signature object.
+       (epg-new-signature-to-string): New function.
+       (epg-make-signature): Added slots for signature class and version.
+       (epg-start-sign): Fixed rule of the MODE argument.
+
+2006-04-30  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-delete-keys): Support deletion of secret keys.
+
+       * pgg-epg.el (pgg-epg-decrypt-region): Convert line endings of the
+       decrypted text.
+
+       * epg.el (epg-read-output): Don't convert line endings of the
+       output file.
+       (epg-cancel): Set 'error result.
+
+2006-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-make-signature): Removed user-id; added
+       creation-time, expiration-time, pubkey-algorithm,
+       digest-algorithm.
+       (epg-process-sentinel): Abolished.
+       (epg-signature-to-string): Decode DN.
+       (epg-list-keys): Cache user-id in epg-user-id-alist.
+       (epg-make-user-id): Renamed name -> string.
+
+2006-04-29  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-status-ERRSIG): New function.
+       (epg-verify-file): Signal an error if we encounter ERRSIG status.
+       (epg-verify-string): Ditto.
+
+2006-04-28  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el: Added typecheck to accessors to objects.
+
+2006-04-26  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-status-GET_HIDDEN): Pass epg-context as the first
+       argument of passphrase-callback.
+       (epg-status-PROGRESS): Ditto.
+
+2006-04-26  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-select-keys): Don't set inhibit-quit when
+       recursive-edit is called.
+       (epg-cancel): New function.
+
+2006-04-25  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-process-sentinel): New function; set 'error if gpg
+       process exited abnormally, but we have not received an error
+       response from it.
+       (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.
+
+2006-04-22  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-key-widget-value-create): Decode DN.
+       (epa-list-keys): Add the PROTOCOL argument.
+       (epa-select-keys): Require CONTEXT as the first argument.
+
+       * epg.el (epg-gpgsm-program): New user option.
+       (epg-dn-type-alist): New variable.
+       (epg-start): Don't specify --command-fd if protocol is CMS.
+       (epg-list-keys): Require CONTEXT as the first argument.
+       (epg-dn-from-string): New function.
+       (epg-decode-dn): New function.
+
+2006-04-21  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-list-keys-1): Add 'epa-list-keys property to keylist
+       region.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg-epg.el (pgg-epg-secret-key-id-list): New variable.
+       (pgg-epg-passphrase-callback): New function.
+
+       * epa.el (epa-select-keys): Added "Cancel" button.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-signature-to-string): New function.
+
+2006-04-20  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
+2006-04-19  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-verify-file): Show results in minibuffer.
+       * epg.el (epg-debug-buffer): New variable.
+       (epg-flush): New function.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-export-keys): New command.
+       * epg.el (epg-start-export-keys): Accept a list of epg-key object
+       instead of a regexp.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-keys-mode-map): Bind epa-list-keys; epa-import-key.
+       (epa-import-key): New command.
+
+       * 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.
+
+2006-04-18  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-start): Insert the command-line arguments to the
+       debug buffer.
+       (epg-start-encrypt): Wait for BEGIN_ENCRYPTION.
+       (epg-start-delete-key): New function.
+       (epg-delete-key): New function.
+
+       * 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.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-file-write-region): Check if START is a string.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-write-file): Try to write region to "/" to get
+       last-coding-system-used to be set.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el: New implementation of epf.el.
+
+       * epf.el: Abolished.
+
+2006-04-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-verify-file): Display verify result.
+
+       * epg.el (epg-invalid-recipients-alist): New variable.
+       (epg-status-INV_RECP): New function.
+       (epg-status-NO_RECP): New function.
+
+       * 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.
+
+2006-04-16  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa.el (epa-select-keys): Renamed from epa-ask-keys; use
+       recursive-edit.
+       * epa-dired.el (epa-dired-encrypt-file): Use epa-select-keys.
+
+2006-04-16  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
+2006-04-15  Daiki Ueno  <ueno@unixuser.org>
+
+       * epg.el (epg-list-keys): Make the NAME argument optional.
+
+2006-04-13  Daiki Ueno  <ueno@unixuser.org>
+
+       * 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.
+
 2006-04-13  Daiki Ueno  <ueno@unixuser.org>
 
+       * epa.el: New file.
+
        * epg.el (epg-cipher-algorithm-alist): New constant.
        (epg-pubkey-algorithm-alist): New constant.
        (epg-digest-algorithm-alist): New constant.