update key in db

This commit is contained in:
juancwu 2026-01-11 18:09:44 -05:00
commit f68d7c2c94
4 changed files with 58 additions and 1 deletions

View file

@ -23,7 +23,7 @@ func startEphemeralAgent(pemData []byte, target string) (string, func(), error)
if err != nil {
if _, ok := err.(*ssh.PassphraseMissingError); ok {
fmt.Printf("\033[1;32m? Gosh:\033[0m Key for \033[1m%s\033[0m is encrypted. Enter passphrase: ", target)
fmt.Printf("\033[1;32mGosh:\033[0m Key for \033[1m%s\033[0m is encrypted. Enter passphrase: ", target)
pass, readErr := term.ReadPassword(int(syscall.Stdin))
fmt.Println()
if readErr != nil {