Skip to content

Commit 1b4d0b1

Browse files
authored
Merge pull request #116 from btcpayserver/fx/gpg_break
fix: store armour as base64 to avoid Postgres Json null error
2 parents fb7c4b6 + 6ff1c26 commit 1b4d0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PluginBuilder/Services/GPGKeyService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public async Task<SignatureProofResponse> VerifyDetachedSignature(string plugins
144144

145145
var signatureProof = new SignatureProof
146146
{
147-
Armour = Encoding.ASCII.GetString(sigBytes),
147+
Armour = Convert.ToBase64String(sigBytes),
148148
KeyId = signature.KeyId.ToString("X"),
149149
Fingerprint = BitConverter.ToString(signingKey.GetFingerprint()).Replace("-", ""),
150150
SignedAt = signature.CreationTime,

0 commit comments

Comments
 (0)