mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-16 14:30:31 +00:00
Misc
This commit is contained in:
@@ -51,5 +51,15 @@ internal sealed class ArchiCryptoHelper {
|
||||
Assert.IsNotNull(decrypted);
|
||||
Assert.AreEqual(TestPassword, decrypted);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
internal async Task CanEncryptDecryptProtectedDataForCurrentUser() {
|
||||
if (!OperatingSystem.IsWindows()) {
|
||||
// Not supported on other platforms than Windows
|
||||
return;
|
||||
}
|
||||
|
||||
await CanEncryptDecrypt(ECryptoMethod.ProtectedDataForCurrentUser).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
#pragma warning restore CA1812 // False positive, the class is used during MSTest
|
||||
|
||||
Reference in New Issue
Block a user