Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support v3 signature packets in mechanism_openpgp #317

Merged
merged 1 commit into from Jul 31, 2017

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Jul 29, 2017

They are handled similarly to the more common V4 signature packets, except that MessageDetails.SignatureV3 is set instead of MessageDetails.Signature, and they don’t support expiration.

Bulk of the commit is adding tests which use V3 signature packets.

I have regenerated unknown-key.signature because it was generated using a temporary key created just for that purpose, and the test is simpler when fixtures for both packet variants to use the same key.

Cc: @mfojtik

They are handled similarly to the more common V4 signature packets,
except that MessageDetails.SignatureV3 is set instead of
MessageDetails.Signature, and they don’t support expiration.

Bulk of the commit is adding tests which use V3 signature packets.

I have regenerated unknown-key.signature because it was generated using
a temporary key created just for that purpose, and the test is simpler
when fixtures for both packet variants to use the same key.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mfojtik
Copy link
Contributor

mfojtik commented Jul 31, 2017

LGTM

(this code is already part of OpenShift 3.6 :-)

@runcom
Copy link
Member

runcom commented Jul 31, 2017

LGTM

Approved with PullApprove

@TomSweeneyRedHat
Copy link
Member

LGTM

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jul 31, 2017

👍

Approved with PullApprove

@mtrmac mtrmac merged commit e6ced5e into containers:master Jul 31, 2017
@mtrmac mtrmac deleted the openpgp-v3 branch July 31, 2017 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants