CryptSync icon indicating copy to clipboard operation
CryptSync copied to clipboard

please use REG_MULTI_SZ to store SyncPairPassx

Open ghrasc opened this issue 4 years ago • 0 comments

Hi,

as discussed in issue #35 import of an exported config doesn't work at all bc Regedit doesn't handle the data you store correctly (the SyncPairPassx entries aren't imported by RegEdit). Unfortunately I have no development environment to just check it out but I tested as far as that REG_MULTI_SZ is exported and re-imported very well when fed with a (multi)string value from todays SyncPairPass-Reg_SZ.

Also when copying the value of SyncPairPassx into an REG_MULTI_SZ, exporting CS config, editing the *.reg, renaming the REG_MULTI_SZs to "SyncPairPassx" the folder pairs appears in CS folder list. So it seems REG_MULTI_SZ was a usable way to store SyncPairPassx.

I was glad if you made that change to store SyncPairPassx in REG_MULTI_SZ instead of REG_SZ.

Thank you!

P.S. A very 1st step/workaround might be to accept profiles /w missing SyncPairPassx and just display them with empty passwords. Today a missing SyncPairPassx in the registry makes the Folder Pair disappear from the list in CS (same when SyncPairPassx has garbage in it).

ghrasc avatar Jan 22 '22 13:01 ghrasc