Credential Store
Mac OSX
Passwords are stored in the OS X Keychain.
Linux/Unix
If running, GNOME Keyring is used, otherwise qtkeychain tries to use KWallet (via D-Bus), if available.
Windows
By default, the Windows Credential Store (aka Windows Credential Locker) is used (requires Windows 7 or newer). Pass -DUSE_CREDENTIAL_STORE=OFF
to cmake use disable it. If disabled, QtKeychain uses the Windows API function CryptProtectData to encrypt the password with the user's logon credentials. The encrypted data is then persisted via QSettings.
CredRead/CredWrite/CredDelete API on Windows
Freedesktop
Secret Service supports many DE including GNOME (requires secretstorage)
KDE4 & KDE5
KWallet (requires dbus)
Docker
secret 을 사용. (컨테이너에선 /run/secrets
파일로 확인 가능)
See also
- Key management
- QtKeychain
- Secure Coding
- Serial code
- Product key (License key)
- TruffleHog - 개인 키 및 자격증명 같은 것들이 유출되지 않도록 지속적으로 스캔하는 오픈소스
- shhgit - Secret 유출 방지용 검색 오픈소스
- HashiCorp Vault
- Git:Credential
- Docker:Secret
Favorite site
- Stackoverflow - How can I store a password in my Qt application?
- Github - r-lib/keyring project site - Access the system credential store from R