r-lib / gitcreds

Query git credentials from R
https://gitcreds.r-lib.org/
Other
27 stars 10 forks source link

Confusing output with "See password / token" #16

Closed lionel- closed 3 years ago

lionel- commented 3 years ago
gitcreds::gitcreds_delete()
#> -> Your current credentials for 'https://github.com':
#>
#>   protocol: https
#>   host    : github.com
#>   username: lionel-
#>   password: <-- hidden -->
#>
#> -> What would you like to do?
#>
#> 1: Keep these credentials
#> 2: Delete these credentials
#> 3: See the password / token

Selection: 3
#> Current password: usethis::git_sitrep()
#>
#>
#> -> What would you like to do?
#>
#> 1: Keep these credentials
#> 2: Delete these credentials
#> 3: See the password / token
gaborcsardi commented 3 years ago

Silly question, but did you just copy and paste a bunch of lines, and one of them ended up being at the password prompt, so you set usethis::git_sitrep() as the password?

You can double check the password in Keychain Access.

lionel- commented 3 years ago

looks like it!

gaborcsardi commented 3 years ago

Well, then just delete this credential, and add a proper one instead. :)