Skip to content

Add support for signing with Tink keyset#2228

Merged
Hayden-IO merged 1 commit intosigstore:mainfrom
Hayden-IO:add-tink
Sep 26, 2024
Merged

Add support for signing with Tink keyset#2228
Hayden-IO merged 1 commit intosigstore:mainfrom
Hayden-IO:add-tink

Conversation

@Hayden-IO
Copy link
Copy Markdown
Contributor

This allows deployers to securely sign in-memory while mitigating key exfiltration, since the key is encrypted at rest and loaded into memory at server startup.

Requires providing a path to an encrypted Tink keyset and the Key Encryption Key, a KMS URI for decrypting the keyset.

Heavily pulls from Fulcio's Tink implementation.

Summary

Release Note

Documentation

This allows deployers to securely sign in-memory while mitigating key
exfiltration, since the key is encrypted at rest and loaded into memory
at server startup.

Requires providing a path to an encrypted Tink keyset and the Key
Encryption Key, a KMS URI for decrypting the keyset.

Heavily pulls from Fulcio's Tink implementation.

Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 48.21429% with 58 lines in your changes missing coverage. Please review.

Project coverage is 51.40%. Comparing base (488eb97) to head (2a76412).
Report is 192 commits behind head on main.

Files with missing lines Patch % Lines
pkg/signer/tink/tink.go 55.07% 21 Missing and 10 partials ⚠️
pkg/signer/tink.go 24.24% 23 Missing and 2 partials ⚠️
pkg/signer/signer.go 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2228       +/-   ##
===========================================
- Coverage   66.46%   51.40%   -15.06%     
===========================================
  Files          92      192      +100     
  Lines        9258    19590    +10332     
===========================================
+ Hits         6153    10071     +3918     
- Misses       2359     8429     +6070     
- Partials      746     1090      +344     
Flag Coverage Δ
e2etests 49.55% <7.14%> (+1.99%) ⬆️
unittests 43.02% <44.64%> (-4.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks
lgtm

Comment thread cmd/rekor-server/app/root.go
@Hayden-IO Hayden-IO merged commit 5e341f2 into sigstore:main Sep 26, 2024
@github-actions github-actions Bot added this to the v1.2.2 milestone Sep 26, 2024
@Hayden-IO Hayden-IO deleted the add-tink branch December 6, 2024 23:01
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.

3 participants