1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.

* app-openpgp.c (verify_chv3): Check it here.
This commit is contained in:
Werner Koch 2003-12-01 10:54:09 +00:00
parent 6b7af47bcc
commit 7134af9fdb
4 changed files with 20 additions and 2 deletions

View file

@ -569,6 +569,12 @@ verify_chv3 (APP app,
{
int rc = 0;
if (!opt.allow_admin)
{
log_info ("access to admin commands is not configured\n");
return gpg_error (GPG_ERR_EACCES);
}
if (!app->did_chv3)
{
char *pinvalue;