Home GnuPG
Diffusion GnuPG 07671917e476

gpg: Fix key conversion for SSH.

Description

gpg: Fix key conversion for SSH.

* g10/export.c (key_to_sshblob): Use put_membuf with length counted
beforehand, and use memcmp instead of strncmp.
  • GnuPG-bug-id: T5393
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Wed, Nov 24, 2:32 AM
Parents
rGc397ba3ac02e: gpg: New option --forbid-gen-key.
Branches
Unknown
Tags
Unknown
Tasks
T5393: gnupg coverity static analysis reports