gnupg/g10
Werner Koch 5d13581f47
gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource.
* g10/keydb.c (keydb_add_resource): Make ANY_REGISTERED
file-global.  Write a STATUS_ERROR.
(maybe_create_keyring_or_box): Check for non-accessible but existant
file.
(keydb_search): Write a STATUS_ERROR if no keyring has been registered
but continue to return NOT_FOUND.
* sm/keydb.c (keydb_add_resource): Rename ANY_PUBLIC to ANY_REGISTERED
and make file-global.  Write a STATUS_ERROR.
(keydb_search): Write a STATUS_ERROR if no keyring has been registered
but continue to return NOT_FOUND.  Also add new arg CTRL and change
all callers to pass it down.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-11-10 17:07:28 +01:00
..
ChangeLog-2011 Spelling: correct spelling of "passphrase". 2016-11-02 12:53:58 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
OPTIONS See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
armor.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
build-packet.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-agent.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-agent.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-dirmngr.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-dirmngr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
card-util.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
cipher.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
compress-bz2.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
compress.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
cpr.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dearmor.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
decrypt-data.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
decrypt.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dek.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
delkey.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
dirmngr-conf.skel dirmngr: Change the Onion keyserver in the conf template. 2015-12-23 20:06:49 +01:00
distsigkey.gpg Add more signing keys. 2014-10-31 14:21:34 +01:00
ecdh.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
encrypt.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exec.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
exec.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
export.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
filter.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
free-packet.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
getkey.c g10: Fix crash. 2016-11-07 12:57:30 +01:00
gpg-w32info.rc w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpg.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpg.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpg.w32-manifest.in w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpgcompose.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpgsql.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpgsql.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
gpgv.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
helptext.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
import.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
kbnode.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keydb.c gpg,sm: Add STATUS_ERROR keydb_search and keydb_add-resource. 2016-11-10 17:07:28 +01:00
keydb.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyedit.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keygen.c gpg: Improve error message for --quick-gen-key. 2016-11-10 12:18:33 +01:00
keyid.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keylist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyring.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyring.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyserver-internal.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyserver.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mainproc.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mdfilter.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
migrate.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
misc.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
openfile.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
options.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
options.skel gpg: Rework gpg-conf.skel 2016-01-22 10:54:10 +01:00
packet.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
parse-packet.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
photoid.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
photoid.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pkclist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pkglue.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pkglue.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
plaintext.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
progress.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pubkey-enc.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pubring.asc See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
revoke.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
rmd160.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
rmd160.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
seckey-cert.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
server.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
seskey.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sig-check.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sign.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
skclist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sqrtu32.c g10: Add missing sqrtu32.h and sqrtu32.c. 2016-09-07 08:55:17 +02:00
sqrtu32.h g10: Add missing sqrtu32.h and sqrtu32.c. 2016-09-07 08:55:17 +02:00
t-keydb-get-keyblock.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-keydb-get-keyblock.gpg gpg: Correctly handle keyblocks followed by legacy keys. 2015-11-17 14:53:03 +01:00
t-keydb-keyring.kbx g10: Add test for keydb as well as new testing infrastructure. 2015-09-02 15:08:57 +02:00
t-keydb.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-rmd160.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-stutter-data.asc gpg: Add a new test. 2016-03-08 14:08:49 +01:00
t-stutter.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tdbdump.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tdbio.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tdbio.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
test-stubs.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
test.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
textfilter.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tofu.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
tofu.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trust.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustdb.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustdb.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
verify.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
zlib-riscos.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00