diff --git a/ReleaseBuilder/Build/Command.GpgSign.cs b/ReleaseBuilder/Build/Command.GpgSign.cs index b2db737a3..3b32fe8fd 100644 --- a/ReleaseBuilder/Build/Command.GpgSign.cs +++ b/ReleaseBuilder/Build/Command.GpgSign.cs @@ -49,6 +49,10 @@ public static partial class Command zip.CreateEntryFromFile(outputpath, outputfile); File.Delete(outputpath); } + + // Add information about the signing key + using (var stream = zip.CreateEntry("sign-key.txt", CompressionLevel.Optimal).Open()) + stream.Write(System.Text.Encoding.UTF8.GetBytes($"{gpgid}\nhttps://pgp.mit.edu/pks/lookup?op=get&search={gpgid}\n")); } File.Move(tmpfile, signaturefile, true);