-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please push this to cargo crates.io #58
Comments
Hey, thanks for the request and for showing interest in the tool! However, you won’t be able to install RootAsRole with Also, RootAsRole depends on a config file located at For now, I've written the installation program entirely in Rust through an xtask sub-project which handles all the subtleties of the installation, as well as respecting the principle of least privilege by itself. Let me know if you have more questions or if you have a good solution to this! |
Since it is an xtask already, can it be set up to require sudo/elevated privileges only for the installation bit itself? e.g. cargo install runs as normal user building a binary, but the post-build xtask will ask for elevation and then MOVE the binary and the corresponding config file to the right places? |
The current xtask program is managing dependencies installation, building, installing, and configuring. I've just searched a bit, and it seems that it's not possible to modify the behaviour of the I think that the last alternative is to request publishing the package on OS official repositories |
RootAsRole is now published on crates.io. Some adjustments were made to make it possible. I think that was necessary to claim the name on the platform. However, as it is not possible to install RootAsRole with Note to myself: If I run |
I want to be able to install this with just
cargo binstall rootasrole
.The text was updated successfully, but these errors were encountered: