Skip to content

Commit

Permalink
rc7-linux non keayring
Browse files Browse the repository at this point in the history
  • Loading branch information
forsthug committed Dec 27, 2023
1 parent 764678a commit 33c07c5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/fiskaltrust.Launcher/Extensions/DataProtectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,7 @@ public static IDataProtectionBuilder ProtectKeysCustom(this IDataProtectionBuild
}
else if (OperatingSystem.IsLinux())
{
try
{
Marshal.PrelinkAll(typeof(KeyUtils));
builder.Services.Configure<KeyManagementOptions>(options => options.XmlEncryptor = new KeyringXmlEncryptor());
return builder;
}
catch (Exception e)
{
Log.Warning(e, "Fallback config encryption mechanism used.");
}
Log.Warning("Fallback config encryption mechanism is used on linux.");
}
else if (OperatingSystem.IsMacOS())
{
Expand Down

0 comments on commit 33c07c5

Please sign in to comment.