News for hackers. Stuff that matters.
Re:The Effectiveness of Publicly Shaming Bad Security by davidhyde on Tuesday September 11, 2018 @09:43AM (#17959604)
Using the clipboard at all for security related things like temporarily storing a password is a bad idea. The clipboard is a big public billboard visible to anything running on your computer.

The fact that password managers use it at all is simply because it is the only hack that works to reliably get data into password boxes. Yes, its a hack. The HTML5 spec should have exposed a mechanism to securely insert data into an element tagged for such a purpose. A one way mechanism.

Re:The Effectiveness of Publicly Shaming Bad Security by reitanqild on Tuesday September 11, 2018 @10:12AM (#17959837)
> Using the clipboard at all for security related things like temporarily storing a password is a bad idea.

(Emphasis mine.)

Well. The moment you have evil code running on your box, as you, then I'll naively assume you have a bigger problem to deal with anyway.

> The clipboard is a big public billboard visible to anything running on your computer.

And everything from client work to love letters in my home folder is available to anything that runs as me, unless I've gone out of our way to secure it - and succeed.

Not saying the clipboard isn't a problem.

Not saying browsers shouldn't expose a carefully thought out API.

But the way I read your post it might scare people away from password managers and back to a single password or passwords written on papers stored within reach from the workplace.

Re:The Effectiveness of Publicly Shaming Bad Security by davidhyde on Tuesday September 11, 2018 @10:35AM (#17960065)
> But the way I read your post it might scare people away from password managers and back to a single password or passwords written on papers stored within reach from the workplace. Browser extension password managers are very much a step in the right direction. For most people, they strike the right balance between convenience and security. I guess I'm just a very paranoid developer who does not value that convenience as much as most.
Re:The Effectiveness of Publicly Shaming Bad Security by corobo on Tuesday September 11, 2018 @12:23PM (#17961142)
> The clipboard is a big public billboard visible to anything running on your computer

So is your keyboard buffer. If someone's already in your computer watching your clipboard they're probably also watching anything you type too

Re:The Effectiveness of Publicly Shaming Bad Security by floatboth on Tuesday September 11, 2018 @02:04PM (#17961953)
On X11 and Windows (except UWP apps probably?), yes. On Wayland, random apps can't listen to global keyboard events.
Re:The Effectiveness of Publicly Shaming Bad Security by berti on Wednesday September 12, 2018 @01:14AM (#17965722)
A number of people dislike Wayland because applications can't watch the screen, keyboard input, clipboard etc outside of their own window. Really, that's one of its great strengths over X11.
Re:The Effectiveness of Publicly Shaming Bad Security by ShamelessC on Wednesday September 12, 2018 @08:19AM (#17967751)
I'm curious, how does an application such as OBS Studio (https://obsproject.com/) work with such limitations in place?
Re:The Effectiveness of Publicly Shaming Bad Security by floatboth on Thursday September 13, 2018 @04:20PM (#17982168)
Through some API that checks authorization.

Eventually everyone should be using https://github.com/flatpak/xdg-desktop-portal/blob/master/da... (which is based on https://pipewire.org )

For now, e.g. https://github.com/fzwoch/obs-gnome-screencast uses org.gnome.Shell.Screencast

Re:The Effectiveness of Publicly Shaming Bad Security by paulryanrogers on Tuesday September 11, 2018 @09:50AM (#17959655)
Keepass tries to mitigate this, as well as keyloggers, by splitting autoinsertion into parts using both. An even better solution is probably one-time passwords with 2FA.
Re:The Effectiveness of Publicly Shaming Bad Security by davidhyde on Tuesday September 11, 2018 @09:54AM (#17959694)
Thanks, that's good to know!
Re:The Effectiveness of Publicly Shaming Bad Security by hiccuphippo on Tuesday September 11, 2018 @10:16AM (#17959884)
Does any password manager uses a virtual keyboard to type the passwords in? That would avoid using the clipboard, but wouldn't work with one of my banks which doesn't even have an input box. They show a keyboard on screen and you have to click on the letter to type your password.
Re:The Effectiveness of Publicly Shaming Bad Security by thedirt0115 on Tuesday September 11, 2018 @04:22PM (#17962997)
You have to type in your password WITH YOUR MOUSE??? Wow. Sounds like a great way to make sure everyone uses the minimum allowed length for their passwords...
Re:The Effectiveness of Publicly Shaming Bad Security by sb23 on Tuesday September 11, 2018 @09:19PM (#17964855)
One of mine has this mouse-to-type feature coupled with numbers only and max length of 6...
Re:The Effectiveness of Publicly Shaming Bad Security by taco_emoji on Tuesday September 11, 2018 @02:56PM (#17962309)
Keepass can "auto-type" the password by emulating keyboard events.
Re:The Effectiveness of Publicly Shaming Bad Security by snackematician on Tuesday September 11, 2018 @10:33AM (#17960041)
passmenu --type