I read this post: Can't restore, sequence truncated Exit code: 100 about the -traditional needed to get a decent header in the private key. As my openssl also generated the ‘wrong’ header I used the -traditional flag and indeed got a proper header. However, when I want to restore I still get ‘sequence truncated Exit code: 100’.
I am running on MacOS 15.5, openssl 3.1.3 19 Sep 2023, Duplicacy Web edition 1.8.3 which comes with CLI 3.2.3,
This is how my private key starts:
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-256-CBC,E4850C87BAFC5E809D98D8F07B9EB8C7
7VfofLzDoMR8Cz9S1uxVg+zIJKMVI/Q15t3TkTUl9dwPe84ibOCWZsUCkFfDG07B
This is what I get back (in the GUI) when I attempt a restore:
2025-07-22 21:07:29.114 INFO REPOSITORY_SET Repository set to /Users/tommy/Desktop
2025-07-22 21:07:29.114 INFO STORAGE_SET Storage set to /Volumes/SSD4SubEncrypted
2025-07-22 21:07:29.114 INFO SNAPSHOT_FILTER Loaded 1 include/exclude pattern(s)
2025-07-22 21:07:29.151 ERROR RSA_PRIVATE Failed to parse the private key in /Users/tommy/duplicacy/private.pem: asn1: syntax error: sequence truncated
Any idea how to tackle this?
Thanks,
Tom