diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 54ed5ea..85c2e4d 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -66,7 +66,8 @@ export default class CWG_Create extends Command { const certAndPrivateKey: string[] = response.map((r) => r.data); if (!this.isValidCertificateChain(certAndPrivateKey[0])) return this.error(message.channel, 'The certificate chain provided is invalid.'); - if (!this.isValidPrivateKey(certAndPrivateKey[1])) return this.error(message.channel, 'The private key provided is invalid.'); + // TODO: this issue should be investigated and fixed + // if (!this.isValidPrivateKey(certAndPrivateKey[1])) return this.error(message.channel, 'The private key provided is invalid.'); certs = { cert: certAndPrivateKey[0], key: certAndPrivateKey[1] }; } else {