Re-encrypt decrypted snapshot metadata?

I have an encrypted repo and was cleaning up some bad snapshot directories. I accidentally synced a “cache” snapshot directory instead of the copy of the encrypted snapshots. Now all of the snapshot files are in plaintext and throwing a “the storage doesn’t seem to be encrypted” when it gets to the stage of decrypting the snapshot file

Listing all snapshot ids
Listing revisions for snapshot 14tb
Failed to decrypt the file snapshots/14tb/1: The storage doesn't seem to be encrypted

I presume the contents of the file are still valid, just decrypted. Any chance someone can provide instructions to re-encrypt the snapshot metadata files?

I don’t think that error necessarily means it wasn’t encrypted - I’ve seen that message in other circumstances.

It’s hard to tell what you’ve done - I can’t imagine using anything from the .duplicacy\cache(?) would be safe to use in any circumstances. Personally, I’d wipe the whole /snapshot directory again and start a fresh copy. If the destination was initialised with encryption (-e flag), doing a copy` will encrypt it. You shouldn’t try to manually copy chunks.