sudo_pair
utils
sudo_pair | utils | |
---|---|---|
4 | 8 | |
1,230 | 404 | |
0.0% | 2.5% | |
0.0 | 8.9 | |
8 months ago | 13 days ago | |
Rust | Rust | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sudo_pair
- How to enforce 4-eyes administration
-
`kindly`: a simplistic (and hopefully educational) implementation of a set-user-ID-root program (think mini `sudo`) for Linux
I actually wrote and open-sourced a library for writing these plugins in Rust as well as a plug-in that implements dual control, allowing a second person to watch and monitor the session.
- sudo_pair is a plugin for sudo that requires another human to approve and monitor privileged sudo sessions.
- Sudo_pair – 2FA for individual `sudo` commands
utils
-
Announcing `compact_str` version 0.7! A small string optimization for Rust
I didn't use any inline asm, instead I wrote the simplest if statement possible, which I confirmed on x86_64, x86, and aarch64 compiles down to use the platform's supported conditional move instructions. If this changes in the future and there's a need to write inline asm, you can do so in a portable way, e.g. the cmov crate.
-
Shoot me straight.
There's also cpufeatures which might suit your use case better (depending on exactly how you want to do it).
-
Crate for AES256 - which one to choose? Questions about block cipher modes and AEAD too.
I have seen that RustCrypto also offers a create for securely zeroing memory with: zeroize
-
`kindly`: a simplistic (and hopefully educational) implementation of a set-user-ID-root program (think mini `sudo`) for Linux
The zeroing routine itself looks fine to me. You might want to compare your code with the (already mentioned) zeroize crate, which does something similar (or maybe identical?).
-
Maybe found a Y2k bug in the rust-crypto DER-encoding util?
To save a few clicks, this was found to be, indeed, a Y2K issue, and der v0.4.1 has just been released to fix it. Citing the comment added to the issue after the fact:
-
Incredibly fast UTF-8 validation
I opened a tracking issue for that.
-
Now that the long-awaited const generics (MVP) have come to stable in 1.51, what crates are going to gain the most from it?
https://github.com/RustCrypto/utils/pull/325#issuecomment-791503136
What are some alternatives?
rocket_auth - An implementation for an authentication API for Rocket applications.
reference - The Rust Reference
please - Really tiny sudo replacement
block-ciphers - Collection of block cipher algorithms written in pure Rust
x8 - Hidden parameters discovery suite
heapless - Heapless, `static` friendly data structures
Fedora-KDE-Yubikey-U2F-2FA-Logins-Guide - Guide to setup a Yubikey for Fedora KDE as 2FA using U2F for the SDDM login screen, lock screen, sudo and su.
rust-crypto - A (mostly) pure-Rust implementation of various cryptographic algorithms.
openidconnect-rs - OpenID Connect Library for Rust
tinyvec - Just, really the littlest Vec you could need. So smol.
please - please, a sudo clone
RustCrypto - Authenticated Encryption with Associated Data Algorithms: high-level encryption ciphers