Live data from Hacker News

Viewing profile — timhh

timhh

HN member
Joined
Sun, Dec 24, 2017, 4:08 PM UTC
HN karma
814
Public activity
133 items

About timhh

No profile information was provided.

Recent public activity

  1. comment
    Comment #49132109

    Yeah I always thought the whole architecture of PAM being a library is weird. A sane person would have made it a Daemon that processes talk to surely? Really it should probably be …

  2. comment
    Comment #49129098

    I'm vaguely considering rewriting PAM in Rust. It's definitely something that would benefit from Rust's extra security and the code quality isn't that great. Nor is the UX. What "a…

  3. comment
    Comment #48934138

    Mostly the specification was just poorly written with many ambiguities. But also the design was complex, weird, invasive and IIRC not backwards compatible with standard RISC-V.

  4. comment
    Comment #48934048

    Why not what? Sorry I'm not sure which bit of my comment you are responding to.

  5. comment
    Comment #48927128

    There's no real need for LLVM, GCC or CUDA to be memory safe. POSIX libc is of course C by definition but libc's are normally extremely well tested, and it is possible to avoid lib…

  6. comment
    Comment #48919215

    Is it valuable enough though. Looking at Google's stats Rust has several orders of magnitude fewer memory vulnerabilities even with `unsafe` (kind of the point). If C was at that l…

  7. comment
    Comment #48919109

    > Security through Obscurity still reigns. That's not the case at all. The spec is developed in the open: https://riscv.github.io/riscv-cheri/ If you want to run CHERI code, it's t…

  8. story
  9. comment
    Comment #48885113

    That looks quite simple. Think about something like this, a commercial SystemVerilog simulator (this only shows a fraction of the UI). https://blog.reds.ch/wp-content/uploads/2018/…

  10. comment
    Comment #48875307

    Of course you can make compressed work. E.g. you fetch 66 bytes instead of 64. Hell, Intel/AMD manage to make x86 fairly fast. But it's definitely more awkward and has costs throug…

  11. comment
    Comment #48873718

    > Requiring C (compressed) is necessary to avoid splitting the Linux ecosystem. Chips lacking C would never be able to run binaries compiled with C. Yes that's precisely the point …

  12. comment
    Comment #48873181

    I like RISC-V (it's been my job for the last 7 years) but this is nonsense. Not everything RISC-V is good. CLIC was awful (thankfully it has been abandoned). The spec is not especi…

  13. comment
    Comment #48381452

    > Default lock screen experience still has a needless delay of 5 seconds when entering a wrong (even blank wrong) password, even on the first attempt. I suspect that is not KDE's f…

  14. comment
    Comment #48087984

    Note the shunting yard algorithm is an iterative (as opposed to recursive) version of Pratt parsing (and also precedence climbing which is virtually identical). However as normally…

  15. comment
    Comment #47477717

    I don't understand how you can be so confidently wrong about something so easily checked. :D > You can't run unix_chkpwd against a local account without root because you won't be a…

  16. comment
    Comment #47475765

    Definitely not for local password authentication, and I'm dubious it helps for ssh either. See my other comment.

  17. comment
    Comment #47471869

    > You obviously can't run unix_chkpwd against a local account without root. Wrong. At least check before you say something is obvious. > No, it's very simple. Even more wrong: http…

  18. comment
    Comment #47468210

    It is. Only the default changed. Also you can press tab if someone happens to be looking over your shoulder (and your password is so obvious they can guess it from the length).

  19. comment
    Comment #47468149

    > Yes, for local password authentication. It's really really not. By default PAM has a difficult-to-disable 2ish second minimum delay for all authentication methods. However this i…

  20. comment
    Comment #47464925

    Not for local password authentication. https://github.com/pibara/pam_unix/blob/master/unix_chkpwd.c...

  21. comment
    Comment #47464915

    You make it sound like there was a discussion where they looked at these two alternatives and chose improving sudo over using run0. Actually I just submitted a patch for this and t…

  22. comment
    Comment #47464887

    Yeah I would like to fix those too but sudo is the one I encounter most. Also the existence of sudo-rs meant there was less push-back. I seriously doubt the maintainers of openssh …

  23. comment
    Comment #47464872

    I did this! I didn't actually know that Mint had enabled this by default. That would have been a useful counterpoint to the naysayers. If you want the original behaviour you don't …

  24. story
  25. comment
    Comment #47186437

    > i.e. this doesn't require age verification at all, just a user profile age property This is usually how they do it though. First make a dumb law with poor enforcement. People don…