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

Take security patch #414

Merged
merged 21 commits into from
Sep 16, 2024
Merged

Take security patch #414

merged 21 commits into from
Sep 16, 2024

Conversation

tstirrat15
Copy link
Contributor

@tstirrat15 tstirrat15 commented Sep 9, 2024

Description

1.22.7 published a security patch. This takes that patch.

Changes

Bump go.mod to take patch and fix subsequent lint issues

Testing

Review.

ecordell
ecordell previously approved these changes Sep 9, 2024
internal/cmd/restorer.go Outdated Show resolved Hide resolved
internal/cmd/validate.go Show resolved Hide resolved
internal/cmd/version.go Outdated Show resolved Hide resolved
if err != nil {
return "", err
}
b, err := term.ReadPassword(intFd)
Copy link
Contributor

Choose a reason for hiding this comment

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

I found https://pkg.go.dev/github.com/charmbracelet/x/term which takes a uintptr for ReadPassword too

ecordell
ecordell previously approved these changes Sep 13, 2024
.goreleaser.yml Outdated
@@ -118,10 +118,6 @@ nfpms:
builds: ["linux-amd64-musl", "linux-arm64-musl"]
formats: ["apk"]

furies:
Copy link
Contributor

Choose a reason for hiding this comment

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

do we not push to gemfury now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's marked as invalid by goreleaser, but it's in their documentation...

Wha?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll reinstate it and raise another issue.

@tstirrat15
Copy link
Contributor Author

I created an issue on goreleaser for the v2.3.0 regression: goreleaser/goreleaser#5138

@tstirrat15 tstirrat15 merged commit da21cce into main Sep 16, 2024
15 checks passed
@tstirrat15 tstirrat15 deleted the take-security-patch branch September 16, 2024 14:39
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants