-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from 34N0/release-refactor
General refactoring in major release preparations
- Loading branch information
Showing
20 changed files
with
96 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[alias] | ||
test-integration = 'run --package xtask-test-integration --' | ||
integration-test = 'run --package xtask-integration-test --' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,10 +96,25 @@ delay = r * (f - f₀) * log(f - f₀) + b | |
``` | ||
|
||
### Reset user | ||
The cli uses the reads the same configuration in `authramp.conf` | ||
To reset the user use the `authramp` command: | ||
The cli uses the reads the same configuration in `authramp.conf`. | ||
```console | ||
sudo authramp reset --user <user> | ||
|
||
█████ ██ ████████████ ████████ █████ ███ █████████ | ||
██ ████ ██ ██ ██ ████ ████ ██████ ██████ ██ | ||
█████████ ██ ██ █████████████ █████████ ████ ████████ | ||
██ ████ ██ ██ ██ ████ ████ ████ ██ ████ | ||
██ ██ ██████ ██ ██ ████ ████ ████ ████ | ||
|
||
by [email protected] | ||
|
||
Usage: authramp [COMMAND] | ||
|
||
Commands: | ||
reset Reset a locked PAM user | ||
help Print this message or the help of the given subcommand(s) | ||
|
||
Options: | ||
-h, --help Print help | ||
``` | ||
|
||
## Logging | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
//! # `AuthRamp` Util Crate | ||
//! | ||
//! General utilities. | ||
//! | ||
//! ## `syslog` | ||
//! | ||
//! The `syslog` module provides functionality for initializing syslog logging in both the PAM module | ||
//! and the CLI binary. It ensures that log messages are sent to the appropriate syslog facility, | ||
//! making it easy to monitor `AuthRamp` activity. | ||
//! | ||
//! ## License | ||
//! | ||
//! pam-authramp | ||
//! Copyright (C) 2023 github.com/34N0 | ||
//! | ||
//! This program is free software: you can redistribute it and/or modify | ||
//! it under the terms of the GNU General Public License as published by | ||
//! the Free Software Foundation, either version 3 of the License, or | ||
//! (at your option) any later version. | ||
//! | ||
//! This program is distributed in the hope that it will be useful, | ||
//! but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
//! GNU General Public License for more details. | ||
//! | ||
//! You should have received a copy of the GNU General Public License | ||
//! along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
pub mod syslog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/xtask-test-integration/Cargo.toml → crates/xtask-integration-test/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters