* epa.el (epa-decrypt-region): New command.
[elisp/epg.git] / ChangeLog
index 9f1314d..c476c69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,150 @@
+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.
-       * epg.el (epg-make-verify-result): Renamed epg-signature to
-       epg-verify-result.
 
 2006-04-20  Daiki Ueno  <ueno@unixuser.org>