urbit/main/bin/pope.hoon
2013-09-30 18:25:52 -07:00

20 lines
469 B
Plaintext

!:
:: /=main=/bin/pope/hoon
::
=> .(+ =>(+ ^/===/lib/pony))
|= [est=time *]
|= [who=@p ~]
^- bowl
%+ (polo ~ %pass "passphrase: " ~ ~)
(boss 256 (more gon qit))
|= [now=@da fra=@]
%+ (posh (add ~s1 now))
~[la/leaf/"generating carrier {(scow %p who)} (#{(scow %ud who)})"]
|= now=@da
:_ ~
=+ bur=(shax (add who (shax fra)))
=+ arc=(brew 2.048 bur)
:~ [%la %leaf "generator: {(scow %uw bur)}"]
[%la %leaf "fingerprint: {(scow %uw fig:ex:arc)}"]
==