kanru / logseq-encrypt-ui

Utility to encrypt/decrypt Logseq graphs
Apache License 2.0
76 stars 2 forks source link

Decryption of Graph ends with lots of empty md files #5

Open busera opened 2 years ago

busera commented 2 years ago

Hi, I am running the tool and after a "successfull" decryption run I have a lot of empty md files and the org files are renamed to .bak still containing the encrypted blocks. Is there a way to decrypt the blocks or md files individuallly? I have the password.

See example here: -----BEGIN AGE ENCRYPTED FILE----- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBYdmtZK2xwb2dWdi9pNWpn VVZZZm8zalcyMFVrczh3d1ozSlo0Q2xOQWxJCjljc2J5QmgrTzdKbmc3cGlrdDJF S001SGxjVDQ3L0VDdkV4TmttbmZtTlEKLT4gcC1ncmVhc2UgXVFxIFxHL1E4JXQg dyoKTGR2eTBWTi92aURYZXJvc0JsekpiRk1VRS9FU3J1NjkvT01xMVlJcWtwRlZJ a1FheklzTjBoNHhudkNhamgyOQpzMWVTQWNucVhSZmpTMmxZUS9uYUEvTjQ2cldT ZnFUZXRXbHFvb1lJM1dZVmJOMkZ2VW9tL3hjdG9iQy9ONWdqClpUOAotLS0gcGNO UzRkOWNLUnNjeTA3b3FuYnB5c2luMFJsRG1zeEM3Z2o3UDh2bEtpZwobzgg6/F3a Xj/GXbpIX2+vfeMKpEw6768sdE6N48R3CA== -----END AGE ENCRYPTED FILE-----

Cheers

Maxduck commented 2 years ago

Same for me... empty .md files. I backed up all the files before decrypting... except the .edn file :( So if I try again, I get "graph not encrypted" When I try to manually decrypt a file, I get: age: error: no identity matched any of the recipients

Hopefully I can restore my lost files...?

itsamemarkus commented 2 years ago

hi, posted something that might help here: https://github.com/FiloSottile/age/discussions/447#discussioncomment-3600485 (little bit technical)