Home GnuPG
Diffusion GnuPG 8c3fb2360f15

agent: Fix regression due to recent commit 4159567.
8c3fb2360f15Unpublished

Unpublished Commit · Learn More

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

Description

agent: Fix regression due to recent commit 4159567.

* agent/protect.c (do_encryption): Fix CBC hashing.

The buggy code included an extra closing parenthesis before
the (protected-at) term in the CBC hashing. We now do it by
explicitly hashing the protected stuff and append the rest of the
expression instead of a fixed closing parenthesis. Note that the OCB
hashing only differs that it does no include the protected part.

Details

Provenance
wernerAuthored on Apr 14 2016, 12:16 PM
Parents
rG6df75ec70afe: agent: Allow gpg-protect-tool to handle openpgp-native protection.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8c3fb2360f15: agent: Fix regression due to recent commit 4159567. (authored by Werner Koch <wk@gnupg.org>).Apr 14 2016, 12:29 PM