Updates on the security changes (how to keep your client working!)
Hi all,
I've got a few updates from the recent post on security changes. First, thanks everybody for the thoughts! Loved it. :)
So the main changes:
After consultation with some actual experts in the security space, I've added a pepper phase to the authentication storage. The TL;DR here is that we will be symmetrically encrypting the hashes before we store them in the database.
The reason to do this is that it means a database breach (if one were to occur) would not provide the attacker with any useful data. In order to even get the hashes to start attacking them, the attacker would have to mount a second successful attack in order to exfiltrate the encryption key (which is not stored in the database at all).
While in practice, the bcrypt hashes are probably all anybody really needs, it's very low cost for us to add this additional measure to the system. For the technically curious, we are using AES-256 encryption on our web servers and we have the ability to rotate keys over time, should we choose to do so.
Secondly, we have implemented
pinterface and
momijizukamorki's idea to use API keys as 'app passwords' to enable clients to continue to authenticate against Dreamwidth. This means Semagic and other clients can continue to work, but you will need to reconfigure them. See below!
Those are the main changes. Otherwise, tomorrow's code push will deploy the underpinnings of our new authentication storage and bring us into the modern age. At least when it comes to authentication storage. :)
Supporting Semagic (AFTER password changes are deployed)
Ok, so to use Semagic (and other clients), you will need to:
- Navigate to the Mobile Post Settings page.
- Click the
Generate New API Keybutton in theManage API Keyssection. - Copy the API key that was generated.
- Change your Semagic password to the API key you copied.
- That's it, have fun!
If you have any trouble with this, please let us know.

no subject
no subject
no subject
no subject
no subject
However, after pasting the API key into Semagic and signing in via Semagic, I get a warning telling me that my password isn't secure and that I should change it.
Am I correct to assume I just have to ignore that and click past it each time?
Also on the topic of Semagic, I have one journal where Semagic will pull out previous entries with no problem and another where I always get the response Server Reply is broken and cannot be processed. If I click on Show Server Reply a window of code opens. If anyone knows how to fix that, I'd be even more delighted!
no subject
I don't know about the other one. Does the server reply contain any private information, or could you share it?
no subject
Regarding the Server Reply issue, if both accounts had been broken I would just have assumed it was 'one of those things' but my other journal works fine.
Here's an example of a server reply I get after clicking the link in the error message dialogue box:-
events_1_allowmask 1 events_1_anum 189 events_1_event Is+%27unprecedented%27+the+most+over-used+word+of+the+year+so+far%3F%0D%0A%0D%0AI+can+think+of+several+alternatives+without+even+trying%21 events_1_eventtime 2020-04-16 23:40:00 events_1_itemid 6668 events_1_logtime 2020-04-16 22:40:56 events_1_security usemask events_1_subject Words... events_1_url https://silvan-lady.dreamwidth.org/1707197.html events_count 1 prop_1_itemid 6668 prop_1_name commentalter prop_1_value 1587380253 prop_2_itemid 6668 prop_2_name current_location prop_2_value on my wayto bed prop_3_itemid 6668 prop_3_name current_mood prop_3_value irritated prop_4_itemid 6668 prop_4_name current_moodid prop_4_value 112 prop_5_itemid 6668 prop_5_name interface prop_5_value flat prop_6_itemid 6668 prop_6_name picture_keyword prop_6_value Writing old prop_7_itemid 6668 prop_7_name picture_mapid prop_7_value 831 prop_8_itemid 6668 prop_8_name taglist prop_8_value english language, covid19 prop_9_itemid 6668 prop_9_name xpostdetail prop_9_value
Interestingly, when I first tried to reply, it was rejected as having text not valid in UTF-8 coding. There were two small squares at the end of the server reply which didn't show up in the code window, but did show once pasted here. I deleted them. (edited to fix typos)
no subject
no subject
no subject
no subject
I have left the request open in the hope that the problem will be fixed.
no subject
If anyone should have an idea how to make this useable again, please make it public. (I don't know how many are out there which still use that program.)
no subject
no subject
Generated one for my account and inserted it as a password - now that makes the program useable again.
Thanks for the hint!
no subject
no subject
no subject
Thank you, I'll try that.
no subject
Getting an API key and using it as the password unbroke it :)
Thank you!
Semagic
Re: Semagic
Re: Semagic
Re: Semagic
Re: Semagic
Re: Semagic
Re: Semagic
Re: Semagic
Re: Semagic
I downloaded and installed the updates to my XP, restarted and filled in Semagic as indicated, but it still will not contact the server. Thanks though. :)
no subject
...
no subject
no subject
no subject
Only a few minutes for the first error (it gets longer over time).
no subject
no subject
no subject
no subject
no subject
no subject
no subject