diff options
author | David Shaw <dshaw@jabberwocky.com> | 2002-08-07 17:53:15 +0200 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2002-08-07 17:53:15 +0200 |
commit | fee7e35baefb742d504c979b3cf0aeaeb5a87b60 (patch) | |
tree | 23112bb915861942dacce217c2474486d76be48d /g10/keydb.c | |
parent | * configure.ac: If the static IDEA cipher is present, disable dynamic (diff) | |
download | gnupg2-fee7e35baefb742d504c979b3cf0aeaeb5a87b60.tar.xz gnupg2-fee7e35baefb742d504c979b3cf0aeaeb5a87b60.zip |
* keyedit.c (menu_revsig): Properly show a uid is revoked without
restarting gpg. This is Debian bug 124219, though their supplied patch
will not do the right thing.
* main.h, tdbio.c (tdbio_set_dbname), misc.c (removed check_permissions),
keydb.c (keydb_add_resource), g10.c (main, check_permissions): Significant
reworking of the permission check mechanism. The new behavior is to check
everything in the homedir by checking the homedir itself. If the user
wants to put (possibly shared) keyrings outside the homedir, they are not
checked. The options file and any extension files are checked wherever
they are, as well as their enclosing directories. This is Debian bug
147760.
Diffstat (limited to 'g10/keydb.c')
-rw-r--r-- | g10/keydb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/keydb.c b/g10/keydb.c index 96d19105a..eb94ef363 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -114,8 +114,6 @@ keydb_add_resource (const char *url, int force, int secret) else filename = m_strdup (resname); - check_permissions(filename,0,0); - if (!force) force = secret? !any_secret : !any_public; |