mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-22 18:46:53 -04:00
Handle further queries of the backend for disabled keyrings
This commit is contained in:
@@ -93,6 +93,8 @@ public class KeychainManager implements KeychainAccessProvider {
|
||||
* @throws KeychainAccessException
|
||||
*/
|
||||
public boolean isPassphraseStored(String key) throws KeychainAccessException {
|
||||
// check if keyrings are disabled; in this case we don't need to ask the backend
|
||||
if (settings.disableAllKeyrings().get()) return false;
|
||||
char[] storedPw = null;
|
||||
try {
|
||||
storedPw = getKeychainOrFail().loadPassphrase(key);
|
||||
|
||||
Reference in New Issue
Block a user