Merge branch 'main' of https://git.stella-ops.org/stella-ops.org/git.stella-ops.org
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user