Skip to content
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

YubiKey plugin #25

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
306 changes: 303 additions & 3 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
members = [
"age",
"age-core",
"age-plugin",
"age-plugin-yubikey",
"rage",
]

[patch.crates-io]
yubikey-piv = { git = "https://github.com/str4d/yubikey-piv.rs.git", branch = "update-deps" }
3 changes: 3 additions & 0 deletions age-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ nom = "5"

# Secret management
secrecy = "0.7"

[features]
plugin = []
2 changes: 1 addition & 1 deletion age-core/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct AgeStanza<'a> {
/// recipient.
///
/// This is the owned type; see [`AgeStanza`] for the reference type.
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub struct Stanza {
/// A tag identifying this stanza type.
pub tag: String,
Expand Down
3 changes: 3 additions & 0 deletions age-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@

pub mod format;
pub mod primitives;

#[cfg(feature = "plugin")]
pub mod plugin;
Loading