mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-24 22:06:14 +01:00
Daniel Mach
a7e5e12c5a
If `sshkey` config option is set, then osc prefers it over password auth. If `sshkey` config option is not set and the server supports both basic and signature auth, basic auth is used and ssh key is NOT auto-detected. Users who want to use ssh auth with ssh key auto-detection can now leave the `pass` config option empty to trigger ssh key auto-detection. The ssh-key autodetection picks the first key that matches: - key loaded to ssh-agent (`ssh-add -l`) that has a public key in ~/.ssh - ~/.ssh/{id_ed25519,id_rsa} It is also recommended to use Obfuscated or Plaintext credentials manager. Please be aware that storing passwords using these credentials managers is unsafe, because they're stored in plain text on disk. Example: [<apiurl>] user=<username> pass= # ssh key is auto-detected because `pass` is empty sshkey= credentials_mgr_class=osc.credentials.ObfuscatedConfigFileCredentialsManager |
||
---|---|---|
.. | ||
util | ||
__init__.py | ||
.gitignore | ||
babysitter.py | ||
build.py | ||
checker.py | ||
cmdln.py | ||
commandline.py | ||
conf.py | ||
core.py | ||
credentials.py | ||
fetch.py | ||
grabber.py | ||
meter.py | ||
OscConfigParser.py | ||
oscerr.py | ||
oscssl.py | ||
oscsslexcp.py |