Skip to content

Conversation

@42wim
Copy link
Owner

@42wim 42wim commented Mar 24, 2025

Fixes #24

@131
Copy link

131 commented Mar 25, 2025

Wow.

@131
Copy link

131 commented Mar 25, 2025

Is there a way that the github action provide the artifacts so i can do some testing with the build ?

@42wim
Copy link
Owner Author

42wim commented Mar 25, 2025

No, but you can build it very easy.
Just install go and run go build -o vault-plugin-auth-ssh cmd/vault-plugin-auth-ssh/main.go in the cloned repo

@131
Copy link

131 commented Mar 26, 2025

I've

CGO_ENABLED=0 go build -o vault-plugin-auth-ssh_rsa_ba039da cmd/vault-plugin-auth-ssh/main.go

sha256 
9d1bd9905172bcaf65391c493818832c7fe90eb40d02d329b3a7764140c0e3ad  vault-plugin-auth-ssh_rsa_ba039da

I've

resource "vault_plugin" "vault-plugin-auth-ssh" {
  provider = vault.primary
  type     = "auth"
  name     = "vault-plugin-auth-ssh"


  command  = "vault-plugin-auth-ssh_v0.3.1"
  version  = "v0.3.1"
  sha256   = "4c491435998d5476fd3f2a91f7a56fe6fd67c097f7786d097a3215533e5d839a"

  # command  = "vault-plugin-auth-ssh_rsa_ba039da"
  # version  = "v0.3.4+rsa"
  # sha256   = "9d1bd9905172bcaf65391c493818832c7fe90eb40d02d329b3a7764140c0e3ad"


}

to encounter weids


Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: "" is not a supported plugin type
│
│   with module.primary.vault_plugin.vault-plugin-auth-ssh,

I've


vault plugin register -sha256=9d1bd9905172bcaf65391c493818832c7fe90eb40d02d329b3a7764140c0e3ad -version=v0.3.4+rsa -command=vault-plugin-auth-ssh_rsa_ba039da auth vault-plugin-auth-ssh

to 
vault plugin list | grep ssh
vault-plugin-auth-ssh                auth        v0.3.4+rsa

Yet, the plugin does not seems to load properly

I'll try harder next week

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.

Bad support for sha256 / sha512 signature

3 participants