-
It is claimed here that AES-256-CTR with Poly1305-AES is used for encryption. Why is this used rather than AES-GCM? My understanding is that AES-GCM is CTR, but improved and more secure against some attacks. Why this choice? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Note that the repository format of Rustic is fully dictated by Restic, the original implementation which Rustic is compatible with. https://github.com/restic/restic/blob/master/doc/design.rst#keys-encryption-and-mac If your question is "why" it was designed like this, you should ask Restic. |
Beta Was this translation helpful? Give feedback.
-
In addition to @intgr : Yes, in principle it would be not too hard to add additional encryptions and we could even do it such that in runtime rustic can use the crypto needed for each repository. But still in this case we would work with a repository which cannot be used by restic as restic does only support this one crypto. We see it as a huge benefit in terms of data integrity that a rustic repository can always be read by restic - and vice versa. But still, if anyone comes up with a PR adding support for other crypto, we will add this extra possibility to rustic - and hope restic would follow as it does with other improvements rustic is offering ;-) |
Beta Was this translation helpful? Give feedback.
Note that the repository format of Rustic is fully dictated by Restic, the original implementation which Rustic is compatible with. https://github.com/restic/restic/blob/master/doc/design.rst#keys-encryption-and-mac
If your question is "why" it was designed like this, you should ask Restic.