🐛 Servarl bug fixes

This commit is contained in:
2025-12-30 01:35:24 +08:00
parent 6fdf34787d
commit 777c0c089a
4 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ public class ActivityPubKeyService(ILogger<ActivityPubKeyService> logger)
return (privateKeyPem, publicKeyPem);
}
public string Sign(string privateKeyPem, string dataToSign)
public static string Sign(string privateKeyPem, string dataToSign)
{
using var rsa = CreateRsaFromPrivateKeyPem(privateKeyPem);
var signature = rsa.SignData(