Menu

#12 Unable to store some passwords

open
nobody
None
5
2013-05-08
2013-05-08
Xutzl
No

For some passwords CUtils::Encrypt function returns string containing NULL character. Then such password is not stored properly in registry key or in a text file (when using -s switch), user has to reenter the password each time the program is launched.

Additionally on Windows there may be problem with storing some unprintable characters inside the REG_SZ key, probably REG_BINARY might be a better choice (but I'm just guessing, in my case the NULL character caused problems).

Discussion