hydroxide icon indicating copy to clipboard operation
hydroxide copied to clipboard

hydroxide auth not printing password

Open JakobMielke opened this issue 4 years ago • 3 comments

I compiled the current git version of hydroxide, and when I do hydroxide auth mielke_j after putting in my password it only outputs 2021/09/19 20:23:17 EOF (ie. date, time and EOF).

JakobMielke avatar Sep 19 '21 18:09 JakobMielke

Hm, it means something is hitting an unexpected end of file somewhere. We're really bad at adding context to our errors (patches welcome!), so you'll need to track down where that error comes from to understand what's going on.

emersion avatar Sep 19 '21 19:09 emersion

Right, where would I get started in tracking down that error? As someone with little to no experience with code debugging.

JakobMielke avatar Sep 19 '21 19:09 JakobMielke

You should now change your password and click the "log out from all sessions" button. These logs contain your credentials.

emersion avatar Oct 01 '21 10:10 emersion

I had the same issue. For me the cause was an empty (but existing) ~/.config/hydroxide/auth.json. Deleted it, ran the command again and it worked fine.

TheLastZombie avatar Sep 10 '22 19:09 TheLastZombie

I've added more context to auth errors.

emersion avatar Sep 10 '22 19:09 emersion