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

feat: Add support for remote signing keys #695

Merged
merged 2 commits into from
Aug 3, 2023
Merged

feat: Add support for remote signing keys #695

merged 2 commits into from
Aug 3, 2023

Conversation

awly
Copy link
Contributor

@awly awly commented Aug 2, 2023

When used as a library, nfpm.PackageSignature.SignFn can be set as an alternative to KeyFile. This allows arbitrary signing key implementations, like a remote signing server.

Updates tailscale/tailscale#1882

@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 2, 2023
When used as a library, `nfpm.PackageSignature.SignFn` can be set as an
alternative to `KeyFile`. This allows arbitrary signing key
implementations, like a remote signing server.

Updates tailscale/tailscale#1882
Copy link
Member

@caarlos0 caarlos0 left a comment

Choose a reason for hiding this comment

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

ah, cool idea!

thanks for the PR

rpm/rpm_test.go Outdated Show resolved Hide resolved
@awly
Copy link
Contributor Author

awly commented Aug 3, 2023

@caarlos0 thanks!
I think you'll need to approve CI checks to run and merge the PR, since I don't have permission to do either ;)

@caarlos0 caarlos0 added the enhancement New feature or request label Aug 3, 2023
Co-authored-by: Carlos Alexandro Becker <[email protected]>
@awly awly requested a review from caarlos0 August 3, 2023 02:30
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #695 (823a95e) into main (577ae45) will increase coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #695      +/-   ##
==========================================
+ Coverage   74.80%   75.02%   +0.21%     
==========================================
  Files          10       10              
  Lines        2385     2406      +21     
==========================================
+ Hits         1784     1805      +21     
  Misses        425      425              
  Partials      176      176              
Files Changed Coverage Δ
nfpm.go 85.00% <ø> (ø)
apk/apk.go 73.79% <100.00%> (+0.55%) ⬆️
deb/deb.go 72.42% <100.00%> (+0.61%) ⬆️
rpm/rpm.go 70.92% <100.00%> (+0.41%) ⬆️

@caarlos0 caarlos0 merged commit 24a43c5 into goreleaser:main Aug 3, 2023
40 of 41 checks passed
@caarlos0
Copy link
Member

caarlos0 commented Aug 3, 2023

merged, thank you @awly (I love tailscale btw 🙏)

@github-actions github-actions bot added this to the v2.27.0 milestone Aug 3, 2023
@awly awly deleted the signfn branch August 3, 2023 14:47
@caarlos0 caarlos0 modified the milestones: v2.27.0, v2.33.0 Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants