Compare commits

...

2 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ impl OwnedKeySet {
/// No errors should occur here, but if they do they probably aren't our fault
/// (take a look at the libraries we use - they're probably the culprit!)
pub fn generate(owner_name: String) -> Self {
let encryption_keys = kyber_keypair(&mut rand::thread_rng());
let encryption_keys = kyber_keypair(&mut rand::thread_rng()).unwrap();
let signage_keys = dilithium_keypair::generate();
let pubkey_pair = PubKeyPair::new(
encryption_keys.public.to_vec(),

View File

@ -107,7 +107,7 @@ fn main() {
}
// `-g | --gen-key`
if args.gen_key {
logger.info("Type your name below. Note that this will be visible to everyone who imports your public key.");
logger.info("Type your name below. Note that this will be visible to everyone who imports your public key (CTRL-D to finish)");
let name = logger.input();
logger.info("Generating owned key set...");
let privkey_id = kdt.gen_key(if name.is_empty() {