Skip to content
13 changes: 0 additions & 13 deletions packages/client/scripts/generate-domain-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function generateDomainVerificationKeys() {

function main() {
try {
console.log('🔑 Generating Base domain verification keys...\n');

const { jwks, privateKey } = generateDomainVerificationKeys();

Expand All @@ -67,19 +66,7 @@ function main() {
// Write the private key to a separate file in the project root directory
const privateKeyPath = join(projectRoot, 'domain-verification-private-key.txt');
writeFileSync(privateKeyPath, privateKey);

console.log('✅ Successfully generated domain verification keys!\n');
console.log('📁 Files created:');
console.log(` • ${jwksPath} - JWKS file for your domain`);
console.log(` • ${privateKeyPath} - Private key (keep this secure!)\n`);

console.log('🌐 Next steps:');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes sense to have these log in the script tho, maybe we can disable this rule for /scripts/ folder?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to remove them because they kept failing the CI

console.log(' 1. Host the base-jwks.json file at: https://yourdomain.com/.well-known/base-jwks.json');
console.log(' 2. Store the private key securely for use with the SDK');
console.log(' 3. Use the private key with the SDK\'s generateSignature function\n');

} catch (error) {
console.error('❌ Error generating domain verification keys:', error);
process.exit(1);
}
}
Expand Down
Loading