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

go get github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk@latest fails #759

Open
jphelton opened this issue Feb 19, 2025 · 1 comment

Comments

@jphelton
Copy link

jphelton commented Feb 19, 2025

Trying to install the latest version of AWS Encryption SDK for go fails

Command:

go version
go get github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk@latest

Output:

go version go1.23.5 darwin/arm64

go: downloading github.com/aws/aws-encryption-sdk v4.1.0+incompatible
go: module github.com/aws/aws-encryption-sdk@latest found (v4.1.0+incompatible), but does not contain package github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk

However, If try to download an earlier version of the SDK, I am able to do so

Command:

go get github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk@v0.1.0

Output

go: downloading github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.1.0
go: warning: github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk@v0.1.0: retracted by module author
go: to switch to the latest unretracted version, run:
        go get github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk@latest
go: added github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.1.0

I believe that the cause of this is #757

  • In it the following statement was added to the go.mod file: retract [v0.0.0-0, v0.1.1]
  • My understanding of the retract statement is that it is inclusive
  • So given the statement above I wouldn't be able to pull v0.1.1 and would need to wait for v0.1.2 to be released

What I am unclear on is whether or not this was intentional? According to this blog post https://aws.amazon.com/about-aws/whats-new/2025/01/aws-encryption-sdk-go-available/, this SDK is generally available.

@ShubhamChaturvedi7
Copy link
Contributor

Hi jphelton@

You are right, we've retracted all the published versions of AWS Encryption SDK for Go due to an issue we identified recently. We are working on a fix for it but there's no date for it yet. As soon as the fix is published, you'll be able to pull in the new version. Thanks for reaching out to us!

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

No branches or pull requests

2 participants