diff --git a/components/owl.js b/components/owl.js index 921cc71..503e0a1 100644 --- a/components/owl.js +++ b/components/owl.js @@ -7,11 +7,11 @@ async function loadKeyStore() { const keystore = jose.JWK.createKeyStore(); // Load the public key for encryption from environment variable - const publicKey = fs.readFileSync('/keys/public_key.pem', 'utf8'); - if (!publicKey) { - throw new Error('Public key not found in environment variables'); - } - await keystore.add(publicKey, 'pem'); + //const publicKey = fs.readFileSync('/keys/public_key.pem', 'utf8'); + //if (!publicKey) { + // throw new Error('Public key not found in environment variables'); + //} + //await keystore.add(publicKey, 'pem'); // Load the private key for decryption from environment variable const privateKey = fs.readFileSync('/keys/private_key.pem', 'utf8');