feat(notsecrets): scaffold age-native domain types and trait ports
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
use crate::_legacy::AgeKeySource;
|
||||
use anyhow::Result;
|
||||
use crate::AgeKeySource;
|
||||
|
||||
pub struct PromptSource;
|
||||
|
||||
impl AgeKeySource for PromptSource {
|
||||
fn name(&self) -> &str { "prompt" }
|
||||
fn name(&self) -> &str {
|
||||
"prompt"
|
||||
}
|
||||
|
||||
fn retrieve(&self) -> Result<String> {
|
||||
let key = rpassword::prompt_password("Paste your age private key: ")
|
||||
|
||||
Reference in New Issue
Block a user