Sunday, July 30, 2023
Show HN: Sshield, a secure(r) SSH agent written in Rust https://ift.tt/Gt2Bc4e
Show HN: Sshield, a secure(r) SSH agent written in Rust sshield is a drop-in SSH agent replacement written in Rust which stores keys in an encrypted SQLite database instead of in ~/.ssh. I opted to use russh, which is a Rust implementation of the SSH protocol and ssh-agent for greater memory safety. It allows importing settings and keys from OpenSSH as well as creating, updating, showing and deleting keys. Whenever a program requests using the key for signing, a prompt is displayed to the user for confirmation. This way: 1. Your keys don't get leaked (unless the server process' memory is dumped, but that requires root on *nix systems) 2. Your keys don't get misused and inadvertedly sign something malicious. It is still a work in progress, but I've been able to switch with fairly minor inconveniences that are just the result of not having it globally installed. The repo will soon have a Nix overlay or package output with all the right settings enabled for daily production usage. Other planned features include using one of the Linux sandboxing APIs, like Landlock or seccomp to further lock down server process to reduce the chance of an RCE being triggered and a way to store the database on different cloud storage mediums so you can use their ACLs to further lock down access to the database and back up keys simultaneously. https://ift.tt/ZtqSAk2 July 30, 2023 at 11:06AM
Subscribe to:
Post Comments (Atom)
Show HN: 35k+ paper psychedelic library that knows LSD from Lumpy Skin Disease https://ift.tt/abtZTG7
Show HN: 35k+ paper psychedelic library that knows LSD from Lumpy Skin Disease https://ift.tt/McRx63D August 10, 2026 at 01:57AM
-
Show HN: WebApp that blows water out of your phone's speakers https://ift.tt/2VmXkOf March 16, 2021 at 08:22AM
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
No comments:
Post a Comment