diff options
author | Robin Krahl <me@robin-krahl.de> | 2018-12-11 12:08:27 +0100 |
---|---|---|
committer | Daniel Müller <d-e-s-o@users.noreply.github.com> | 2018-12-11 17:34:18 -0800 |
commit | c90b8b54ebe0d7a1a2a4f5acf295708f11ff314d (patch) | |
tree | fa0d98365131ab4f76855ae87b4b28b74abb3df3 /libc/build.rs | |
parent | cae0be5b2d8e45433d24b03698a9839bea9b2dbc (diff) | |
download | nitrocli-c90b8b54ebe0d7a1a2a4f5acf295708f11ff314d.tar.gz nitrocli-c90b8b54ebe0d7a1a2a4f5acf295708f11ff314d.tar.bz2 |
Add application name and PIN type to the pinentry cache ID
This patch adds the application name (nitrocli) and the type of the
requested PIN (user PIN) to the cache ID user with pinentry to conform
with the GnuPG documentation [0]:
> By convention either the hexified fingerprint of the key shall be used
> for cache_id or an arbitrary string prefixed with the name of the
> calling application and a colon: Like gpg:somestring.
[0] https://www.gnupg.org/documentation/manuals/gnupg/Agent-GET_005fPASSPHRASE.html#Agent-GET_005fPASSPHRASE
Diffstat (limited to 'libc/build.rs')
0 files changed, 0 insertions, 0 deletions