Please note that while this code compiles, it does NOT run successfully in many contexts as InteractiveContext
is not set and any interaction produces a panic. I am still investigating how to handle setting InteractiveContext
in an elegant way.
32G3GOK752NTSULBH6KYGD3ZC2YC4B2X7O73G7BT3AJVMIUIFHXQC
RP7YRM5QOINW7FB5BGNZEXVQN7TXB7LLLHXZPPAI6DGFGRP7JPFQC
QKBU6HCDGET7POGV3FVZMEAOFHWNNQSMAIPSGGCMFL5AGHDB5PUAC
4RV7T4SRYIQLBW3EZFWBO5G65QAVG2GHPI4KMDDZERCX65KQWSPQC
MU6P2JXG6RQEUOUV7HIZNA2734BGUCYMJYXAOLOO2CSGMNKVIH5QC
M37JTFEIT6NHRDJOE7K6JWKFJF7327JMZDMX7GC2DQNECZKODBXQC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
LZOGKBJXRQJKXHYNNENJFGNLP5SHIXGSV6HDB7UVOP7FSA5EUNCQC
TPEH2XNBS5RO4IEVKENVF6P65AH7IX64KK2JAYMSJT3J5GXO67EAC
I6DVZEFUMGH6BFOLGBPM6J4PL5I4PAAODJYG7REXYPDHPKPBLDTAC
DWSAYGVEOR4D2EKIICEZUWCRGJTUXQQLOUWMYIFV7XN62K44F4FAC
SFY4U6XENPS67BWNMTZI472WBORGVL7B4FZDIHGHEJQR5VYRYCVAC
4KJ45IJLTIE35KQZUSFMFS67RNENG4P2FZMKMULJLGGYMKJUVRSQC
4OJWMSOWWNT5N4W4FDMKBZB5UARCLGV3SRZVKGR4EFAYFUMUHM7AC
BV4PLHOVPSA5UKF43TL6EC57I7XHYWKZWV6LXI7YTGS2K3SQMY2AC
44RUBHREQUNI4B36WSV7CUK5CVVIKG2AQOQJQZ7HU3BHY6W6AUEQC
YJXRCXOSO2J5BFFR6QKFDVV3RJ5J3QXB4UZ3DVQZLYTF5RJ4TNJAC
6FRPUHWKBAWIYN6B6YDFQG2SFWZ6MBBYOYXFUN6DRZ4HPDSKFANQC
IKZBGTGQ7GJMRPYJPLL66DMND6J2JBP6I23U4GGCB5CMDG4FUHLAC
DVBSW7SICQMTYIC4NOLA3CBRU5OWPAWX3MYEOZ7UWXF3IJLLJDYQC
EJ7TFFOWLM5EXYX57NJZZX3NLPBLLMRX7CGJYC75DJZ5LYXOQPJAC
let password = dialoguer::Password::with_theme(
pijul_config::load_theme()
.expect("Could not load config")
.as_ref(),
)
.with_prompt(format!("Password for encrypted private key"))
.allow_empty_password(false)
.interact()
.unwrap();
let password = pijul_interaction::Password::new()?
.with_prompt(format!("Password for encrypted private key"))
.with_allow_empty(false)
.interact()?;
let password = dialoguer::Password::with_theme(
pijul_config::load_theme()
.expect("Could not load config")
.as_ref(),
)
.with_prompt(format!("Password for {username}"))
.allow_empty_password(true)
.interact()
.unwrap();
let password = pijul_interaction::Password::new()?
.with_prompt(format!("Password for {username}"))
.with_allow_empty(true)
.interact()?;