Home GnuPG
Diffusion GnuPG 5a1f6a006248

dirmngr: Fix signature checking.
5a1f6a006248Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Fix signature checking.

* dirmngr/server.c: Include cpparray.h.
(verify_swdb_parm_s): New.
(verify_swdb_status_cb): New.
(cmd_versioncheck): Use gpgv to correclty verify the signature.
Rename some variable to comply with GNU standards.

Relying on the return code of gpg is not a robust way to check
signatures. We better use our dedicated tool.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 27 2016, 8:35 PM
Parents
rG8fced66be35d: gpg: Verify multiple detached signatures with different hash algos.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG5a1f6a006248: dirmngr: Fix signature checking. (authored by Werner Koch <wk@gnupg.org>).Oct 27 2016, 8:35 PM