(no title)
JonathanBeuys | 2 years ago
https://name:password@news.ycombinator.com
1: When you bookmark them, it shows the auth part when you hover the bookmark with the mouse.
2: When you open them from the command line
firefox https://name:password@news.ycombinator.com
And then ctrl+click links on the site, it opens the new tab and shows the auth part in the tab title as long as the link loads. It seems the "current url" in Firefox code is stored with the auth part, and it passes that part on to local links.These issues make it insecure to use auth urls because as soon as someone looks over your shoulder (or there is a camera like in many cafes), you are p0wned.
I wish we had a better way to log into a website from the command line, like ssh keys. But for now, we are stuck with what we have. And Firefox makes it insecure to use it. So for now, I continue to use Chromium.
nacs|2 years ago
That is the bigger security issue you have, not how Firefox is handling the display of the URL.
If anything, Firefox is highlighting your insecure security practice.
JonathanBeuys|2 years ago
Regarding storing them in plain text: That's not much different from ssh keys. When someone can read your ssh key, they can log in as you.
If you know a better way to automatically log a user into a website, let us know!
kgwxd|2 years ago
pprotas|2 years ago
JonathanBeuys|2 years ago
In the end, every security mechanism is "plain text". Even ssh keys. When someone gains access to your ssh key, which is just an ascii string, they can log in as you.
splitstud|2 years ago
[deleted]