mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 03:00:15 +03:00
sur: added identity structure with support for ship signatures or ring signatures
This commit is contained in:
parent
acce440c76
commit
524bdbd8c1
8
pkg/arvo/sur/identity.hoon
Normal file
8
pkg/arvo/sur/identity.hoon
Normal file
@ -0,0 +1,8 @@
|
||||
/- *ring
|
||||
|%
|
||||
+$ ship-identity [=ship =life]
|
||||
+$ identity
|
||||
$% [%ship ship-identity]
|
||||
[%ring =ring-group]
|
||||
==
|
||||
--
|
@ -34,4 +34,14 @@
|
||||
::
|
||||
raw=raw-ring-signature
|
||||
==
|
||||
::
|
||||
+$ ring-group
|
||||
$: :: a ring signature is computed over a set of public keys. the
|
||||
:: participants set is not those keys, but static references to them.
|
||||
::
|
||||
participants=(set [ship=@p =life])
|
||||
:: the linkage scope this signature was made on
|
||||
::
|
||||
link-scope=(unit *)
|
||||
==
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user