drbeefsupreme
7f32d91258
naive: breach is flag not atom
2021-04-30 14:00:03 -04:00
drbeefsupreme
84a8a5c860
naive: fix key format for tests
2021-04-29 16:31:45 -04:00
drbeefsupreme
2099f87290
Merge branch 'philip/naive' into poprox/naive-test
2021-04-29 15:57:27 -04:00
Philip Monk
27949c5d8a
naive: fix +tx
2021-04-28 22:04:11 -07:00
Philip Monk
75eeef544e
naive: store crypto suite number in state
...
We now store the raw crypto suite number, authentication key, and
encryption key. App/azimuth converts this to a `pass` for jael's
benefit.
2021-04-28 20:51:43 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive
2021-04-28 20:30:07 -07:00
Philip Monk
3869e01556
naive: infer ships from 'from'
...
For all except spawn, we can infer one of the ship arguments to be the
"from" ship. This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00
Philip Monk
36a10eb083
naive: convert can -> cad
...
Avoid bugs where we miscount the length of assembled atoms.
2021-04-28 19:19:50 -07:00
Philip Monk
5d52171a47
naive: add domain separator
...
To prevent replay across chains, eg from ropsten to mainnet.
Additionally, this introduces a version number, so we won't have to
worry about future signature formats being accidentally compatible with
this one.
2021-04-28 18:13:00 -07:00
Philip Monk
6dda168f3c
naive: factor out keccak into verifier
...
The verifier now takes an octs so that we can properly hash it to the 32
bytes required by ecdsa.
This allows lib/naive to use its own stdlib again.
2021-04-28 15:38:28 -07:00
drbeefsupreme
7f1e21d3d5
naive: l1 key change test
2021-04-28 15:29:20 -04:00
drbeefsupreme
fe8150f395
naive: key change test
2021-04-28 15:13:31 -04:00
Philip Monk
f2c43edc99
naive: make bitlengths explicit
...
Also switches everything to ropsten by default, including ivory pill.
Batches work on ropsten now.
Also adds +tx as a hacky development tool to create text for metamask to
sign and then turn that into a batch. A useful reference for bridge and
aggregator work.
2021-04-27 22:58:19 -07:00
Philip Monk
a644d8a5b2
naive: merge fixes
2021-04-27 17:31:38 -07:00
Philip Monk
3b0fc59c2b
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive
2021-04-27 17:27:28 -07:00
Philip Monk
781cdf3960
naive: alter signatures to match personal_sign
2021-04-27 17:26:34 -07:00
Joe Bryan
d1327db316
urbit: bumps version to 1.5
2021-04-27 13:58:44 -07:00
Joe Bryan
bc45a6d32f
Merge pull request #4819 from wexpertsystems/docker-port-doc-fix
...
docker: update documentation
2021-04-27 13:49:05 -07:00
Joe Bryan
224e9d172a
Merge pull request #4828 from urbit/jb/cttp-crash-redux
...
vere: fix cttp tls crash from (bad) fix for synchronous error callback
2021-04-27 11:33:12 -07:00
Brendan Hay
bd429a0170
Merge pull request #4829 from urbit/bh/lmdb-static-osx
...
king: ensure lmdb is statically linked on osx
2021-04-27 20:29:19 +02:00
Joe Bryan
8d421ae68e
vere: improves u3_creq struct declaration style
2021-04-27 10:54:22 -07:00
Joe Bryan
645b860aa5
vere: extends cttp state machine to handle a/sync errors with tls
2021-04-27 10:54:17 -07:00
Brendan Hay
d72db74492
king: ensure lmdb is statically linked on osx
...
By way of ensuring the lmdb package's cabal extra-libraries field
is ignored and our lmdb overlay is used. Don't ask.
2021-04-27 19:50:16 +02:00
Philip Monk
6e34c320fe
Merge remote-tracking branch 'origin/release/next-vere'
2021-04-26 18:15:13 -07:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
...
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
db87197479
urbit: bump version to 1.4
2021-04-26 19:22:21 -04:00
pilfer-pandex
dd230875cd
Merge pull request #4744 from urbit/pp/alley
...
king: fix lanes yet again, also reuse udp port
2021-04-26 19:17:52 -04:00
pilfer-pandex
94ad4ec3ac
king: fix typo in UDP.hs comment
2021-04-26 18:58:14 -04:00
Wexpert Systems
d415610ac9
docker: update documentation
...
Minor documentation update to fix the examples and clarify best practices for setting and mapping the Ames UDP port while running Urbit in docker.
2021-04-25 12:02:56 -04:00
pilfer-pandex
dad455365d
king: add requested disclamer to UDP.hs
2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c
king: my god, actually reverse ip addrs
2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0
king: fix byte order of Ipv4
2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe
king: ames: make udp serv reuse port on err
2021-04-23 15:51:50 -04:00
drbeefsupreme
d87f0e6723
naive: prv -> pk
2021-04-23 14:54:36 -04:00
drbeefsupreme
d561083418
naive: add sambud
2021-04-23 14:52:48 -04:00
Joe Bryan
7829ca006c
Merge pull request #4804 from urbit/jb/sift-ud
...
u3: rewrites %ud parser
2021-04-22 20:17:43 -07:00
Joe Bryan
571a6e6941
Merge pull request #4796 from urbit/jb/rememe
...
u3: propagate bail:meme
2021-04-22 20:16:00 -07:00
Joe Bryan
715b42bb42
u3: tweaks u3s_sift_ud() conditional style
2021-04-22 20:14:28 -07:00
Joe Bryan
45ef57ab1a
u3: refactors gmp initialization in u3r_mp()
2021-04-22 17:34:49 -07:00
Joe Bryan
0681c9a477
u3: avoid gmp realloc in u3s_sift_ud()
2021-04-22 17:26:36 -07:00
Joe Bryan
1600e71daf
u3: adds a macro for leading digits in u3s_sift_ud()
2021-04-22 16:17:56 -07:00
Joe Bryan
64a96acb20
u3: requires at least one leading digit in u3s_sift_ud()
2021-04-22 16:07:35 -07:00
Joe Bryan
9c550a6795
u3: shortcircuit direct atoms in u3i_chub()
2021-04-22 15:54:19 -07:00
Joe Bryan
af1325a387
u3: simplies leading-digit control flow in u3s_sift_ud()
2021-04-22 15:53:42 -07:00
Joe Bryan
1ca0207b20
u3: adds basic tests for u3s_sift_ud()
2021-04-22 15:42:03 -07:00
Joe Bryan
edd886c37b
u3: fix typo in u3s_sift_bytes() block conditionals
2021-04-22 15:12:55 -07:00
drbeefsupreme
d81cf1a197
naive: l2 spawn proxy spawn test, add datbud
2021-04-22 15:18:23 -04:00
drbeefsupreme
b76f2c7f45
transaction firing now includes private key
2021-04-22 14:35:50 -04:00
drbeefsupreme
14b81f8ea4
naive: add l1 changed-keys transaction
2021-04-22 13:40:32 -04:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q
2021-04-22 18:00:19 +10:00