I'd like to use Argon2 for web stuff but Web Crypto doesn't support it yet ( https://github.com/WICG/proposals/issues/59 ) and the WASM flavor creates problems with bundling and testing. Stuck with PBKDF2 for now...
I wonder if it'd get anywhere. There's not enough CPU/memory allocated in a lot of these platforms to make it work e.g. Deno deploy and Cloudflare workers (bundled) has 50ms of CPU time.
Bcrypt at 25
71–78 of 78 posts
Re: Bcrypt at 25
#72Earlier quoted context omitted.
> The fact that most Cloud software today still tells devs to give it a static infinitely-lived authentication key is absurd. We can do way better. I could be misunderstanding your point, but cloud software is encouraged to rely on infrastructure introspection and role inheritance to achieve machine-to-machine authentication. There is also the problem when authenticating between user owned services, which can be achi…
I'm saying we should remove the 'encouragement' and make secure operation the only mode. When there's a new more secure practice, we should use abstractions that make switching to the new mode as simple as changing some external dependency. The mechanism should be abstracted away into something that isn't code, like how running a program with arguments and stdin isn't reliant on some particular programming language.…
Re: Bcrypt at 25
#73Re: Bcrypt at 25
#74Earlier quoted context omitted.
I was incapacitated for many years and my phone plan lapsed, so I lost the number. My email account lapsed and so did all my domains, so I lost access to all my email addresses. I now have about 1000 online accounts that I have no way to access because there is no way to authenticate myself. 2FA can be a real pain in some situations, even though I still advise everyone I know to enable it on their most sensitive acco…
What you went through must have been really awful, I’m sorry that happened to you. That being said, this sounds like a rare occurrence. I’m sure since then you’ve created some contingency plan especially if there is a potential for a repeat. This actually highlights one of my fears of everything being tied to a phone number because you can never truly own it and it can be canceled or you could be sim-swapped.
Let me be a lesson to everyone. Plan for total disaster. Have a plan B and plan C. Don't go through all the work I went through to get your life back on track.
Re: Bcrypt at 25
#75Earlier quoted context omitted.
> does not require the dev to implement their own "hooks" into its methods > tell the framework how to work [...] and just send it data in the way it expects What is that, if not also "hooks"? I've long thought about this and tried many different solutions, and there's only 2 sane points to implement a library/framework like this in an unopinionated way IMHO (without prescribing the DB schema, etc): you provide a lib…
> in an unopinionated way IMHO (without prescribing the DB schema, etc) I'm actually suggesting the most opinionated thing imaginable. Definitely it would need its own schema, database (logical database; you could still put it in the same SQL server instance). I've implemented this before, it works fine. Basically imagine that your app can only talk to some login system through a command-line tool, and the command li…
Now you have a CMS like Wordpress, no longer a library or even framework, which has so many moving parts that is def not "secure by default".
Re: Bcrypt at 25
#76Earlier quoted context omitted.
I wonder if it'd get anywhere. There's not enough CPU/memory allocated in a lot of these platforms to make it work e.g. Deno deploy and Cloudflare workers (bundled) has 50ms of CPU time.
Cloudflare Workers "Bundled" is a legacy mode that is not the default these days. Unbound mode (the default for paid subscriptions) offers 30s CPU time.
Re: Bcrypt at 25
#77Earlier quoted context omitted.
What you went through must have been really awful, I’m sorry that happened to you. That being said, this sounds like a rare occurrence. I’m sure since then you’ve created some contingency plan especially if there is a potential for a repeat. This actually highlights one of my fears of everything being tied to a phone number because you can never truly own it and it can be canceled or you could be sim-swapped.
You would have think I would learn. But no, it happened all over again last year, and I again lost my phone number and access to my email, but this time a friend managed to renew all but one of my domains, so I've managed to access to about 50% of the new accounts I created. And all my possessions were burned up in a fire this time, so I lost all my ID, passport, birth certificate, SSN card etc, which made things eve…
Re: Bcrypt at 25
#78Earlier quoted context omitted.
You would have think I would learn. But no, it happened all over again last year, and I again lost my phone number and access to my email, but this time a friend managed to renew all but one of my domains, so I've managed to access to about 50% of the new accounts I created. And all my possessions were burned up in a fire this time, so I lost all my ID, passport, birth certificate, SSN card etc, which made things eve…
feel free to not respond, but... what happened to you?