You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KeychainAccess: Replace CRYPTPROTECT_LOCAL_MACHINE by 0 #1
The class WindowsProtectedKeychainAccess implements the SPI KeychainAccessProvider, to store safely user passphrases. It uses the Windows Data Protection API, namly the (native) functions CryptProtectData and CryptUnprotectData.
Looking at the native code implementation, the the first funciton is called with CRYPTPROTECT_LOCAL_MACHINE as the dwFlag parameter, leading to the behaviour, that any user account on the system is able to decrypt the encrypted passphrase:
Activity
Merge pull request #1 from cryptomator/feature/common-keychain-base