Xsalsa20 using Go nacl

Hey guys, I love this tool so much. So thanks to the entire team and Gilbert Chen for this!!

I have heard rumours about Scientists in China are able to crack open AES encrypted data using Quantum computing. Even if they are to be rumours, I thought I would ask here for a roadmap.

I see that Duplicacy uses AES for encryption. Is it possible to add support for a new type of encryption like xsalsa20 using Go’s built in nacl secretbox/box to encrypt/decrypt chunks?

I am not asking to migrate existing encrypted data but only to be used when initialising a new repo.

Thanks

I don’t have an immediate plan to support xsalsa20 encryption, but it should be fairly easy to implement. The chunk format was designed to minimize the work needed to add new encryption algorithms, and also allow an existing storage to switch to a new encryption algorithm. New chunks can be encrypted with the new algorithm while existing chunks remain unchanged.

Thanks a lot @gchen, I really want to look into the Duplicacy architecture which I have not had time to grok yet. I do not mind hacking around to etch new encryption into the system but that might open up security issues if wrongly implemented.

But in any case, if it may be possible for you guys to start some form of funding campaign (like https://www.gofundme.com) for this purpose, then I would be happy to contribute. :pray:

Thanks again.