shrub/main/bin/pope.hoon

20 lines
462 B
Plaintext
Raw Normal View History

2013-09-29 00:21:18 +04:00
!:
:: /=main=/bin/pope/hoon
::
=> .(+ =>(+ ^/===/lib/pony))
|= [est=time *]
|= [who=@p ~]
^- bowl
2013-10-16 01:02:23 +04:00
%+ (polo %pass "passphrase: " ~ ~)
2013-09-29 00:21:18 +04:00
(boss 256 (more gon qit))
|= [now=@da fra=@]
2013-10-16 01:02:23 +04:00
%+ pomp "generating carrier {(scow %p who)} (#{(scow %ud who)})"
%- (posh (add ~s1 now))
2013-09-29 00:21:18 +04:00
|= 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)}"]
==