Merge pull request #955 from urbit/ames-entropy

updates %ames to use provided entropy
This commit is contained in:
Joe Bryan 2018-12-20 00:36:43 -05:00 committed by GitHub
commit e77de7d73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -1233,6 +1233,7 @@
?. ?=(%soft -.wrapped-task)
wrapped-task
((hard task:able) p.wrapped-task)
=. any.ton.fox eny
=^ duy ..knob (knob hen task)
[duy ..^$]
::
@ -1258,6 +1259,7 @@
~/ %take
|= [tea=wire hen=duct hin=(hypo sign:able)]
^- [(list move) _..^$]
=. any.ton.fox eny
=^ duy ..knap
(knap tea hen q.hin)
[duy ..^$]
@ -1447,12 +1449,6 @@
::
%init
:_ fox [[%sake ~] [%brew ~] ~]
::
:: XX this is unused, but they only way to set
:: entropy for symmetric keys. Review.
::
%junk
[~ fox(any.ton (shax (mix any.ton.fox p.kyz)))]
::
%kick
=^ ban fox (~(kick am [our now fox(hop p.kyz) ski]) hen)

View File

@ -246,7 +246,6 @@
{$halo p/lane q/@ r/ares} :: hole with trace
{$hole p/lane q/@} :: packet failed
[%init p=ship] :: report install
{$junk p/@} :: entropy
{$kick p/@da} :: wake up
{$nuke p/@p} :: toggle auto-block
{$sunk p=ship q=life} :: report death