remove unsafe trapdoor artifacts
This commit is contained in:
parent
02675a58d3
commit
728cae7788
1 changed files with 0 additions and 11 deletions
|
|
@ -39,17 +39,6 @@ in rec {
|
|||
${masterkey} = decl.unlock;
|
||||
};
|
||||
|
||||
# XXX: TODO: should we just remove all unsafe functions here?
|
||||
# revealTrapdoorsUnsafe = openTrapdoorUnsafe masterkey;
|
||||
#
|
||||
# openTrapdoorFnUnsafe = key: T: (T masterkey).${key};
|
||||
# openTrapdoorSetUnsafe = key: T: T.${masterkey}.${key};
|
||||
#
|
||||
# openTrapdoorUnsafe = key: T:
|
||||
# if isFunction T
|
||||
# then openTrapdoorFnUnsafe key T
|
||||
# else openTrapdoorSetUnsafe key T;
|
||||
|
||||
isTrapdoorFnKey = key: T: isFunction T && (T masterkey) ? ${key};
|
||||
|
||||
isTrapdoorSetKey = key: T:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue