From ff6d12a593f563f17d603f91ffd368972de4b38c Mon Sep 17 00:00:00 2001 From: Paul Flynn Date: Sun, 28 Apr 2024 16:15:24 -0400 Subject: [PATCH] fix(service): cert newline --- service/kas/access/publicKey.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/kas/access/publicKey.go b/service/kas/access/publicKey.go index b218e9548..6fcb5cae5 100644 --- a/service/kas/access/publicKey.go +++ b/service/kas/access/publicKey.go @@ -41,6 +41,8 @@ func (p *Provider) LegacyPublicKey(ctx context.Context, in *kaspb.LegacyPublicKe return nil, errors.Join(ErrConfig, status.Error(codes.Internal, "configuration error")) } } + // workaround for Error code 75497574. [ec_key_pair.cpp:650] Failed to create X509 cert struct.error:04800066:PEM routines::bad end line + cert += "\n" return &wrapperspb.StringValue{Value: cert}, nil }