Can't restore, sequence truncated Exit code: 100

I created, and recreated public and private PEM keys using the following commands:

openssl genrsa -aes256 -out private.pem -traditional 2048

In the restore section I have:

I’ve tried for “passphrase”:

  • The passphrase I used to create the pem file
  • The first passphrase you make after installing duplicacy
  • The storage passphrase

All give me the same error.

The restore command encountered an error:
Failed to parse the private key in /repo/private.pem: asn1: syntax error: sequence truncated

Exit code: 100

Figured it out. For anyone having this error. Everything to that point was correct, the Options are:

-key /path_to_key/private.pem -key-passphrase=passphrase

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.