Home GnuPG
Diffusion GnuPG f747adfa2155

scd: More fix for Curve25519 prefix handling.
f747adfa2155Unpublished

Unpublished Commit · Learn More

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

Description

scd: More fix for Curve25519 prefix handling.

* scd/app-openpgp.c (do_decipher): Handle trancated cipher text.
Also fix xfree bug introduced.

In old format with no prefix, cipher text can be trancated when it
is parsed as MPI. Recover the value adding back zeros.

Details

Provenance
gniibeAuthored on Dec 4 2015, 6:02 AM
Parents
rGe28f2e7a2f26: scd: Another fix for Curve25519 prefix handling.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGf747adfa2155: scd: More fix for Curve25519 prefix handling. (authored by NIIBE Yutaka <gniibe@fsij.org>).Dec 4 2015, 6:02 AM