v6ak / qubes-incremental-backup-poc

proof of concept of incremental backup scheme for Qubes
https://groups.google.com/d/msgid/qubes-users/901b82dc-f781-4c13-ad00-33b4337fc84a%40googlegroups.com
9 stars 2 forks source link

Review usage of utf-8 #15

Closed v6ak closed 7 years ago

v6ak commented 7 years ago

Two different encodings are used, ASCII and UTF-8. ASCII is much simpler, but UTF-8 might be needed in some cases (e.g. passphrase with national characters).

When UTF-8 is parsed from untrusted source, it adds some attack surface. So, I should review if UTF-8 is used only when not controlled by attacked. (I believe so, but it should be still verified.)