stefankueng / CryptSync

CryptSync is a small utility that synchronizes two folders while encrypting the contents in one folder. That means one of the two folders has all files unencrypted (the files you work with) and the other folder has all the files encrypted.
https://tools.stefankueng.com/CryptSync.html
GNU General Public License v3.0
400 stars 72 forks source link

What about cyrillic? #107

Closed artromone closed 1 year ago

stefankueng commented 1 year ago

what about it?

artromone commented 1 year ago

07/03/23 00:16:54 : ERROR: Failed to encrypt file "D:\tmp\Rena\1\вапвапва.md" to "D:\tmp\Rena\2\вапвапва.md.gpg" 07/03/23 00:16:54 : INFO: encrypt file D:\tmp\Rena\1\цукцукцукцук to D:\tmp\Rena\2\цукцукцукцук.gpg 07/03/23 00:16:54 : ERROR: Failed to encrypt file "D:\tmp\Rena\1\цукцукцукцук" to "D:\tmp\Rena\2\цукцукцукцук.gpg" 07/03/23 00:16:54 : INFO: finished syncing folder orig "D:\tmp\Rena\1" with crypt "D:\tmp\Rena\2"

artromone commented 1 year ago

When I use Latin it works

stefankueng commented 1 year ago

Well, you're using gpg. CryptSync calls gpg with the proper paths. If gpg can't handle that, I'm sorry but there's nothing I can do in cryptsync.

artromone commented 1 year ago

I see, thank you!

artromone commented 1 year ago

Have an Idea — CryptSync can transform Cyrillic to Latin, then run gpg, then rename file to Cyrillic. May be helpful.

stefankueng commented 1 year ago

or just don't use gpg for encryption?

artromone commented 1 year ago

Yeah, now I don't use it. So, the problem is solved. But for some people it may be a workaround.