Skip to content

Commit

Permalink
Fixed private key name
Browse files Browse the repository at this point in the history
Co-Authored-By: Sylvie <[email protected]>
Co-Authored-By: Samuel Aquino <[email protected]>
Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: halprin <[email protected]>
  • Loading branch information
5 people committed Sep 12, 2024
1 parent cdcd4be commit 01607a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sftp/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func getSshClientHostKeyCallback(serverKey string) (ssh.HostKeyCallback, error)

func getPublicKeysForSshClient(credentialGetter secrets.CredentialGetter) (ssh.Signer, error) {

userAuthenticationKeyName := utils.CA_PHL + "-sftp-key-private-" + utils.EnvironmentName() // pragma: allowlist secret
userAuthenticationKeyName := utils.CA_PHL + "-sftp-private-key-" + utils.EnvironmentName() // pragma: allowlist secret

key, err := credentialGetter.GetSecret(userAuthenticationKeyName)
if err != nil {
Expand Down

0 comments on commit 01607a2

Please sign in to comment.