mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-29 12:15:43 +03:00
encrypted jammed womb back-up
This commit is contained in:
parent
bc07b0cbfc
commit
4f26894cfe
@ -8,9 +8,11 @@
|
||||
!:
|
||||
:- %say
|
||||
|= $: {now/@da eny/@uvI byk/beak}
|
||||
{{dap/term $~} $~}
|
||||
{{dap/term pas/@uw $~} $~}
|
||||
==
|
||||
^- {$hood-load ?(part:womb)}
|
||||
?+ dap ~|(unknown-backup+dap !!)
|
||||
$womb [%hood-load .^(part:womb %cx (tope byk /womb-part/bak/hood/app))]
|
||||
$womb
|
||||
=+ dat=.^(@ %cx (tope byk /jam-crub/womb-part/bak/hood/app))
|
||||
[%hood-load ;;(part:womb (cue (dy:crub pas dat)))]
|
||||
==
|
||||
|
@ -653,7 +653,11 @@
|
||||
|= pax/path
|
||||
=< abet
|
||||
?> =(our src) :: me only
|
||||
(emit %info /backup [our (foal pax [%womb-part !>(`part`+:abet)])])
|
||||
=+ pas=`@uw`(shas %back eny)
|
||||
~& [%backing-up pas=pas]
|
||||
=; dif (emit %info /backup [our dif])
|
||||
%+ foal (welp pax /jam-crub)
|
||||
[%jam-crub !>((en:crub pas (jam `part`+:abet)))]
|
||||
::
|
||||
++ poke-rekey :: extend will
|
||||
|= $~
|
||||
|
17
mar/jam-crub.hoon
Normal file
17
mar/jam-crub.hoon
Normal file
@ -0,0 +1,17 @@
|
||||
::
|
||||
:::: /hoon/jam-crub/mar
|
||||
::
|
||||
/? 310
|
||||
!:
|
||||
|_ mud/@
|
||||
++ grow
|
||||
|%
|
||||
++ mime [/application/octet-stream (taco mud)]
|
||||
--
|
||||
++ grab
|
||||
|% :: convert from
|
||||
++ noun @ :: clam from %noun
|
||||
++ mime |=({* octs} q)
|
||||
--
|
||||
++ grad %mime
|
||||
--
|
Loading…
Reference in New Issue
Block a user