텍스트 수정

This commit is contained in:
static
2024-12-28 22:51:24 +09:00
parent 52a61297c5
commit 928cb799d3
3 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ export const createBlobFromKeyPairBase64 = (pubKeyBase64: string, privKeyBase64:
throw new Error("Failed to format key pair");
}
const pubKeyPem = `-----BEGIN PUBLIC KEY-----\n${pubKeyFormatted}\n-----END PUBLIC KEY-----`;
const privKeyPem = `-----BEGIN PRIVATE KEY-----\n${privKeyFormatted}\n-----END PRIVATE KEY-----`;
const pubKeyPem = `-----BEGIN RSA PUBLIC KEY-----\n${pubKeyFormatted}\n-----END RSA PUBLIC KEY-----`;
const privKeyPem = `-----BEGIN RSA PRIVATE KEY-----\n${privKeyFormatted}\n-----END RSA PRIVATE KEY-----`;
return new Blob([`${pubKeyPem}\n${privKeyPem}\n`], { type: "text/plain" });
};