Home GnuPG
Diffusion GnuPG e644aa7f5943

g10: factor out a function for secret key retrieval.
e644aa7f5943Unpublished

Unpublished Commit · Learn More

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

Description

g10: factor out a function for secret key retrieval.

* g10/export.c (receive_seckey_from_agent): New.
(do_export_stream): Use it.

Also fixed a memory leak of WRAPPEDKEY on a successful path of
build_packet.

In the log message, key is now by a hexgrip instead of a format by
keystr_with_sub.

Details

Provenance
gniibeAuthored on Dec 17 2015, 5:03 AM
Parents
rGfc010b6c7fe1: gpg: When checking for ambiguous keys, ignore invalid keys.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGe644aa7f5943: g10: factor out a function for secret key retrieval. (authored by NIIBE Yutaka <gniibe@fsij.org>).Dec 17 2015, 5:06 AM