This commit is contained in:
StellaOps Bot
2025-12-26 21:43:56 +02:00
354 changed files with 354 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ public sealed class RegistryTokenIssuerTests : IDisposable
private string CreatePemKey()
{
using var rsa = RSA.Create(2048);
using StellaOps.TestKit;
var builder = new StringWriter();
builder.WriteLine("-----BEGIN PRIVATE KEY-----");
builder.WriteLine(Convert.ToBase64String(rsa.ExportPkcs8PrivateKey(), Base64FormattingOptions.InsertLineBreaks));