From 77d34a2ac8db57d376807e54c6eb44b2c4227589 Mon Sep 17 00:00:00 2001 From: Archi Date: Fri, 30 Jul 2021 16:09:46 +0200 Subject: [PATCH] Enable public signing of ASF binaries Pending tests whether this is going to have any drawbacks, but so far looks good --- .dockerignore | 3 +++ .gitignore | 3 +++ ArchiSteamFarm/AssemblyInfo.cs | 4 ++-- Directory.Build.props | 4 ++++ resources/ArchiSteamFarm.snk.pub | Bin 0 -> 160 bytes 5 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 resources/ArchiSteamFarm.snk.pub diff --git a/.dockerignore b/.dockerignore index e22f4e710..ca98b7333 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,9 @@ # Ignore all files in custom in-tree config directory (if exists) ArchiSteamFarm/config +# Ignore private SNK key (if exists) +resources/ArchiSteamFarm.snk + # Ignore local log + debug of development builds ArchiSteamFarm/log.txt ArchiSteamFarm/debug diff --git a/.gitignore b/.gitignore index 8363139a4..505e06ca8 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ # Ignore all files in custom in-tree config directory (if exists) ArchiSteamFarm/config +# Ignore private SNK key (if exists) +resources/ArchiSteamFarm.snk + # Ignore local log + debug of development builds ArchiSteamFarm/log.txt ArchiSteamFarm/debug diff --git a/ArchiSteamFarm/AssemblyInfo.cs b/ArchiSteamFarm/AssemblyInfo.cs index 077b552ce..e438ccf36 100644 --- a/ArchiSteamFarm/AssemblyInfo.cs +++ b/ArchiSteamFarm/AssemblyInfo.cs @@ -23,5 +23,5 @@ using System; using System.Runtime.CompilerServices; [assembly: CLSCompliant(false)] -[assembly: InternalsVisibleTo("ArchiSteamFarm.Tests")] -[assembly: InternalsVisibleTo("ArchiSteamFarm.OfficialPlugins.SteamTokenDumper")] +[assembly: InternalsVisibleTo("ArchiSteamFarm.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010081de317783799b647b9a68b0d756f9f2c42e828ae16262824f8892d47b08ce91ebd20c72c2692e7acdb423124af3fe352ba15838893e971236f5dfaa79933a4ac7ab5600c9528076b56c60a196175f789816e8d270e54e50c2fb98eba119ff7cb84ab9499b93fd83ca086d60fd7046a33190fb51b956abf86b4f09a46c6e1adf")] +[assembly: InternalsVisibleTo("ArchiSteamFarm.OfficialPlugins.SteamTokenDumper, PublicKey=002400000480000094000000060200000024000052534131000400000100010081de317783799b647b9a68b0d756f9f2c42e828ae16262824f8892d47b08ce91ebd20c72c2692e7acdb423124af3fe352ba15838893e971236f5dfaa79933a4ac7ab5600c9528076b56c60a196175f789816e8d270e54e50c2fb98eba119ff7cb84ab9499b93fd83ca086d60fd7046a33190fb51b956abf86b4f09a46c6e1adf")] diff --git a/Directory.Build.props b/Directory.Build.props index c87f89226..fa48703af 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,6 +6,7 @@ AllEnabledByDefault ../resources/ASF.ico + ../resources/ArchiSteamFarm.snk.pub JustArchi JustArchiNET Copyright © 2015-$([System.DateTime]::UtcNow.Year) JustArchiNET @@ -20,10 +21,12 @@ ../resources/ASF.ico Apache-2.0 https://github.com/JustArchiNET/ArchiSteamFarm + true Git https://github.com/JustArchiNET/ArchiSteamFarm.git LatestMajor linux-arm;linux-arm64;linux-x64;osx-x64;win-x64 + true true @@ -37,6 +40,7 @@ none true + CS8002 diff --git a/resources/ArchiSteamFarm.snk.pub b/resources/ArchiSteamFarm.snk.pub new file mode 100644 index 0000000000000000000000000000000000000000..27faa690281645297d508f78e73fbed7836e675f GIT binary patch literal 160 zcmV;R0AK$ABme*efB*oL000060ssI2Bme+XQ$aBR1ONa50097j-Z6KBd7ET=nrN`s zR{8S8E`o~TVq$_%h?3NM2+on~(hPFKX)b!rv?CHq^Zqp}p;$PHK9>?U_1~&_lR8Sr zt5yKXQh;`~Y+#|57hiao7U