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

Steps for verifying installation of Smithy CLI on linux don't work #2477

Open
jtk5aw opened this issue Nov 24, 2024 · 1 comment
Open

Steps for verifying installation of Smithy CLI on linux don't work #2477

jtk5aw opened this issue Nov 24, 2024 · 1 comment
Labels
bug This issue is a bug.

Comments

@jtk5aw
Copy link

jtk5aw commented Nov 24, 2024

I have no reason to believe what I'm downloading doesn't work or is invalid. But following the provided steps doesn't seem to work as expected: https://smithy.io/2.0/guides/smithy-cli/cli_installation.html#verification-optional

The first step

curl -L 'https://github.com/smithy-lang/smithy/releases/download/1.53.0/smithy-cli-linux-x86_64.zip.{asc,sha256}' -o 'smithy-install/smithy-cli-linux-x86_64.zip.#1'

works fine but when I get to

(cd smithy-install && sha256sum -c smithy-cli-linux-x86_64.zip.sha256)

I get back the error.

sha256sum: smithy-cli-linux-x86_64.zip.sha256: no properly formatted SHA256 checksum lines found

Then running the next command

curl -L https://github.com/smithy-lang/smithy/releases/download/1.53.0/smithy.asc -o smithy-install/smithy.asc && \
    gpg --import smithy-install/smithy.asc

gives

gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

The second issue I believe is because the referenced smithy.asc file doesn't exist so nothing gets downloaded. I at least don't see it on the release page here.

@sugmanue sugmanue added the bug This issue is a bug. label Dec 2, 2024
@sugmanue
Copy link
Contributor

sugmanue commented Dec 2, 2024

Hi Jackson, the steps are indeed incorrect, thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants