StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Malts  
#1 Posted : Friday, March 19, 2021 12:55:46 AM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
I'm trying to synchronise settings between two windows accounts on the same PC. However, when I click synchronise, select the settings I want, and click 'download and apply' I get a pop-up with the following message:


Download Error

Failed to download settings:

Error: 'Padding is invalid and cannot be removed.'



Upon clicking 'ok' the synchronisation window closes without applying any new settings.
Rob  
#2 Posted : Friday, March 19, 2021 1:08:54 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Do you have a password set on either computer?

Not like the login, but when you right click and click Set Password, where you're prompted for a password when you open the S+ settings?
Malts  
#3 Posted : Friday, March 19, 2021 2:48:38 PM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
No, no password on either.

Edit: Also, the accounts are on the same computer (my work and personal accounts). Neither have admin rights.

Edited by user Friday, March 19, 2021 2:53:00 PM(UTC)  | Reason: Not specified

Rob  
#4 Posted : Saturday, March 20, 2021 3:25:43 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Does this happen for every single sync'd settings upload?
If you go back to the earliest one, does it have the same issue?

Let me know and exact computer name / timestamp of one that doesn't work and I will try to pull it from the database directly and see if I get the same error.
Malts  
#5 Posted : Saturday, March 20, 2021 3:49:32 PM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
Yes, it happens for all of them.

The one I'm trying to sync with is 2021-03-18 10:03PM DESKTOP-8BEBB1E. (That time's in UTC).

Rob  
#6 Posted : Monday, March 22, 2021 7:38:03 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
So the interesting thing I'm seeing is that in the sync table it saves your username, which is used during the encryption/decryption process. This is the username you entered in the S+ login popup.

You have entries for Malts and malts, which would result in different binary encoding, thus one would not be able to decrypt for the other.

This is something I will need to sort out, but it can be tricky due to some languages perhaps not handling case changes properly. Or on Login I need to return the forum's username exact casing and use that instead.

The one on 3/18 @ 10:03PM is saved under Malts, so try logging out from S+ and logging back in using that case, then let me know if it's working.
Malts  
#7 Posted : Tuesday, March 23, 2021 8:25:53 PM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
That worked!

I tried for both the most recent one and the 2021-03-18 10:03PM and both downloaded no problem.

I suppose you have the difficult of sorting this out in general now - worst case scenario is a couple people have to sign in again?

Anyway, cheers for all the help.

Rob  
#8 Posted : Tuesday, March 23, 2021 8:35:44 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
The signing in won't be an issue, but for example in your case, those files are encrypted (before upload) with the username.

So for files where that happened, you'd have to login as the alternate case username to download and decrypt them.

But once I have it fixed, it won't matter how you login, the casing will be normalized so it's always consistent.
Malts  
#9 Posted : Tuesday, March 23, 2021 8:43:39 PM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
Wouldn't that require retroactively changing the encryption on all the currently synced files though? Asking out of compsci student curiosity.
Rob  
#10 Posted : Tuesday, March 23, 2021 9:08:57 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
Yeah.

But they're encrypted on the client side and are simply stored in my database, it will really just be for those who used a different case username in the past will have to reach out specifically to me to work through recovering files.

There are gigabytes of settings files and it's too much to try to go through in advance. Plus, people usually are just using a couple recent ones anyway which they can quickly get back in sync.
thanks 1 user thanked Rob for this useful post.
Malts on 3/23/2021(UTC)
Malts  
#11 Posted : Tuesday, March 23, 2021 9:27:08 PM(UTC)
Malts

Rank: Newbie

Reputation:

Groups: Approved
Joined: 3/18/2021(UTC)
Posts: 7

Thanks: 1 times
Fair enough, thanks for indulging me.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.