Skip to main content
All CollectionsSoftSIMSoftSIM Troubleshooting
I get "failed to load key" error when decrypting SoftSIM profile
I get "failed to load key" error when decrypting SoftSIM profile

Your private key is password protected.

Audur Arna Sigurdardottir avatar
Written by Audur Arna Sigurdardottir
Updated over 2 weeks ago

Environment

Issue

  • What does "failed to load key" error mean?

  • Why do I get error message "Failed to load key: PKCS#1 ASN.1 error: PEM error: PEM headers disallowed by RFC7468" when decrypting the SoftSIM profile?

Solution

  1. Generate a new keypair.

    1. Make sure to hit Enter when prompted for password.

  2. Create a new SoftSIM API key with this keypair.

  3. Fetch a new profile.

  4. Decrypt the profile with next command.

Cause

The reason you see the error is due to your private key being password protected. The SoftSIM CLI tool does not support password protected keys.

Did this answer your question?