mirror of
https://github.com/urbit/shrub.git
synced 2024-11-29 06:45:42 +03:00
Merge pull request #2938 from lukechampine/invalid-key-segfault
vere: handle failed cue of private key file
This commit is contained in:
commit
d057208a84
@ -612,7 +612,14 @@ _boothack_key(u3_noun kef)
|
||||
|
||||
// +seed:able:jael: private key file
|
||||
//
|
||||
seed = u3ke_cue(u3k(u3t(des)));
|
||||
u3_noun pro = u3m_soft(0, u3ke_cue, u3k(u3t(des)));
|
||||
if ( u3_blip != u3h(pro) ) {
|
||||
u3l_log("dawn: unable to cue private key\r\n");
|
||||
exit(1);
|
||||
}
|
||||
seed = u3k(u3t(pro));
|
||||
u3z(pro);
|
||||
|
||||
// local reference, not counted
|
||||
//
|
||||
ship = u3h(seed);
|
||||
|
Loading…
Reference in New Issue
Block a user