diff --git a/NEWS b/NEWS index 110b1153..78c1be50 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,12 @@ Noteworthy changes in version 0.4.1 (unreleased) ------------------------------------------------ + * GPGME_ATTR_IS_SECRET is not anymore representable as a string. + + * Interface changes relative to the 0.4.0 release: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gpgme_key_get_string_attr CHANGED: Don't handle GPGME_ATR_IS_SECRET. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Noteworthy changes in version 0.4.0 (2002-12-23) ------------------------------------------------ diff --git a/TODO b/TODO index c9f5d3cb..54e10835 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,7 @@ Hey Emacs, this is -*- outline -*- mode! * ABI's to break: -** string representation of non-secret keys and ATTR_IS_SECRET is NULL, - which can not be differentiated from the case that it is not - representable. +** Currently none. * Thread support: ** Build thread modules for static linking (which just suck in the diff --git a/doc/ChangeLog b/doc/ChangeLog index 3622567a..39a54aaf 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2002-12-23 Marcus Brinkmann + + * gpgme.texi (Information About Keys): Document that + GPGME_ATTR_IS_SECRET is not representable as a string anymore. + 2002-12-22 Marcus Brinkmann * gpgme.texi (Key Signatures): New section. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 43d842e7..a74ec240 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1829,8 +1829,7 @@ for PGP and 1 for X.509. It is also used for the type of a trust item. @item GPGME_ATTR_IS_SECRET This specifies if the key is a secret key. It is representable as a -string or a number. If the key is a secret key, the representation is -``1'' or @code{1}, otherwise it is @code{NULL} or @code{0}. +number, and is @code{1} if the key is revoked, and @code{0} otherwise. @item GPGME_ATTR_KEY_REVOKED This specifies if a sub key is revoked. It is representable as a