-
Notifications
You must be signed in to change notification settings - Fork 315
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
Fix failing tests #366
Fix failing tests #366
Conversation
This PR has passed 'Verify' and is ready for review and approval! |
} | ||
|
||
// generate a single key | ||
if let Err(e) = hcore::crypto::generate_origin_sig_key(test_key_name) { | ||
panic!("Error generating keys {}", e) | ||
panic!("Error generating keys, {}", e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra ,
1aef215
to
ea63a9a
Compare
This PR has passed 'Verify' and is ready for review and approval! |
@delivery approve |
Change: add009c3-e791-4aaf-96de-4aa2867fcde3 approved by: @fnichol |
This PR improves logic of key generation by first checking if the path given is a valid path to a file on disk, then creates the parent directory before attempting to generate the keyfile in it.
It also fixes the documentation tests by marking some code blocks in the crypto module which were added as
text
instead of the default ofrust
. These example blocks were trying to get compiled ;)