Enable SSH remotes in native frontends (#117)
This commit is contained in:
1 parent
76e707f645
commit
a737e74aae
22 files changed
+1214
-140
No files matched your search
@@ -289,6 +289,14 @@ fn ssh_passphrases_are_retrieved_by_fingerprint_with_typed_access_failures() ->
|
||||
store.ssh_key_passphrase(&fingerprint)?.expose(),
|
||||
b"protected-passphrase"
|
||||
);
|
||||
store.persist_verified_ssh_passphrase(
|
||||
&fingerprint,
|
||||
SecretBytes::new(b"verified-replacement".to_vec()),
|
||||
)?;
|
||||
assert_eq!(
|
||||
store.ssh_key_passphrase(&fingerprint)?.expose(),
|
||||
b"verified-replacement"
|
||||
);
|
||||
backend.fail_next(SecretStoreError::Denied);
|
||||
assert!(matches!(
|
||||
store.ssh_key_passphrase(&fingerprint),
|
||||
|
||||
Reference in new issue
Block a user