Skip to content

Commit c976c3b

Browse files
committed
Fixed order or arguments
1 parent 71f84d4 commit c976c3b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Backend/src/Tooling/ClaimCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.CommandLine;
2+
using System.Security.Cryptography;
23
using System.Text.Json;
34
using Confix.Tooling;
45
using Confix.Tooling.Option;

src/Backend/src/Vault.Configuration/VaulConfigurationProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private static void UpdateLocalConfiguration(
203203

204204
try
205205
{
206-
var decrypted = InMemoryCryptoProvider.From(decryptionKey).DecryptAsync(cypher, iv);
206+
var decrypted = InMemoryCryptoProvider.From(decryptionKey).DecryptAsync(iv, cypher);
207207

208208
return JsonConfigurationFileParser.ParseJson(JsonDocument.Parse(decrypted));
209209
}

0 commit comments

Comments
 (0)