Commit Graph

1205 Commits

Author SHA1 Message Date
Fang
68794e9cfa Use correct byte ordering for the Argon2 salt 2018-11-13 14:13:56 -08:00
Fang
77494a58ee Use the correct network seed derivation salt 2018-11-13 14:13:12 -08:00
Fang
a7319a63e2 Update keygen to conform to latest spec 2018-11-12 18:12:22 -08:00
Isaac Visintainer
eadc8b294f updated umd to udon 2018-11-07 14:31:31 -08:00
Isaac Visintainer
49c7f2541e integration fixes 2018-11-07 14:31:31 -08:00
Isaac Visintainer
af5c8b92c2 removed old colls lib 2018-11-07 14:31:31 -08:00
Isaac Visintainer
0df228f165 added jet hints to hall, collections, gall 2018-11-07 14:31:31 -08:00
Isaac Visintainer
406c38a5b8 removed soft, moved bulk of collections logic to a lib for better caching 2018-11-07 14:31:31 -08:00
Isaac Visintainer
1e1f9231b9 fixed behavior for broken umd 2018-11-07 14:31:31 -08:00
Isaac Visintainer
a06be71df2 collections fixes: comment snippets, double reporting, date field error 2018-11-07 14:31:31 -08:00
Isaac Visintainer
026f02cb63 collections fixes: post editing, parent config, sorting 2018-11-07 14:31:31 -08:00
Fang
2a23548a91 Remove outdated version of BIP32 library 2018-11-07 13:44:06 -08:00
Joe Bryan
cb56ee3a9b tracks message length in rs256 signatures 2018-11-06 18:12:05 -05:00
Fang
37e2a186da Merge branch 'release-candidate' into keygen-changes 2018-11-06 10:37:37 -08:00
Fang
fc4e8ab275 Add type for full wallet 2018-11-05 17:58:47 -08:00
Joe Bryan
c8f1b4d5a1 Merge branch 'release-candidate' into ames-eth-keys
* release-candidate: (33 commits)
  update pin-vere-commit.txt
  Bug fix for metal-wrapping runes
  Remove old-zuse (#867)
  Type Analysis (#865)
  remove clam from error sigpam
  Fix compiler error.
  Remove temporary type analysis work.
  Remove ++cook from ++auri parsing
  Remove forced ssl upgrade for localhost http reqs
  moved to new branch with updated arvo
  11. demacrotizes %6, %7, %8, and %9
  10. updates %5 to require two subformulas (4K)
  9. emits %10 (4K)
  8. adds and implements edit (%10) (4K)
  7. removes %13 and %14 (4K)
  6. emits %11 and %12 (4K)
  5. implements hint at %11 and wish at %12 (4K)
  4. removes %10 and %11 (4K)
  3. emits %13 and %14 (4K)
  2. implements %13 and %14 (4K)
  ...
2018-11-01 00:18:54 -04:00
Joe Bryan
c014303233 moves +code scry to %jael, removes obsolete %ames scrys 2018-11-01 00:03:26 -04:00
Fang
5c6bcee523 Apply two more small fixes to achieve parity with keygen-js
- argon2u salt
- account for larger seed when deriving from mnemonic
2018-10-30 18:18:17 -07:00
Fang
76ef4ae9e3 Do renaming, error correction, cleanup 2018-10-30 17:15:56 -07:00
rmariani
579efd9972
Remove old-zuse (#867)
* removes old-zuse
2018-10-26 16:19:18 -07:00
benjamin-tlon
a7c967795d
Type Analysis (#865) 2018-10-26 15:43:45 -07:00
Fang
e0f5a9db7a Work with BIP39 mnemonics as outward-facing seeds
Then apply the password in turning them into internally usable seeds.
2018-10-25 19:10:40 -07:00
Fang
6d89026468 Use argon2u salt from the spec 2018-10-25 13:22:18 -07:00
Fang
68234ca138 Derive BIP32 at specific path 2018-10-24 16:32:16 -07:00
Fang
ad9bd39db0 Derive the owner seed, and all other seeds, from "master seed" 2018-10-24 16:31:40 -07:00
Fang
75800ef997 Continue with fixed seed-length changes, don't append pass 2018-10-24 16:30:45 -07:00
Fang
715f801722 Cast the BIP39 wordlist
To give it a more elegant type signature.
2018-10-24 16:28:23 -07:00
Fang
1556402668 Implement BIP39 as a library
Currently only uses the official English wordlist, but could be expanded
to use various other wordlists in the future.

Includes tests.
2018-10-24 14:55:35 -07:00
Fang
9527a002f3 Make seeds always 256 bits in size 2018-10-22 16:37:42 -07:00
Joe Bryan
4d3b204769 implements key rotation with continuity
also not quite working
2018-10-18 14:45:54 -04:00
Joe Bryan
1e0408b445 updates sein:title to use %jael scry, adds ^sein:title 2018-10-17 15:22:07 -04:00
Joe Bryan
b24bd2fcbf removes womb and all its accoutrements 2018-10-17 14:54:28 -04:00
David Kerschner
9eb5c44001
Merge pull request #829 from baudtack/release-candidate
refactor %ask generators
2018-10-12 12:48:58 -07:00
Isaac Visintainer
da53d8b058 moved to new branch with updated arvo 2018-10-11 13:19:30 -07:00
Joe Bryan
e76083b2b6 adds a ^? to fix namespace issues with old-zuse 2018-10-09 18:23:15 -04:00
Joe Bryan
a230b8e9fb removes %ames pki and old boot process 2018-10-05 21:01:07 -04:00
David Kerschner
cff1674d95 refactored generators from lib/sole into lib/generators 2018-10-02 16:36:08 -07:00
David Kerschner
69b5c6fcb0 Issue #61
Extracted %ask generator methods from sur/sole and put them in a core
under lib/sole
Fixed names in existing generators
2018-10-02 12:33:08 -07:00
Fang
b4631e9438
Merge pull request #803 from urbit/ethereum-signing
Ethereum transaction signing
2018-09-06 11:17:52 +02:00
Elliot Glaysher
2642efc8af Merge remote-tracking branch 'origin/collections' into release-candidate 2018-09-05 16:33:34 -07:00
Ted Blackman
2c7cbe5382 refactored +expect-schematic and completed first clay test 2018-09-04 16:37:01 -07:00
Isaac Visintainer
91bb34b943 hall custom permission rules 2018-09-04 16:23:24 -07:00
Fang
abd6329725 Remove outdated lib and sur files
They have been living in zuse for a while.
2018-09-04 00:25:08 +02:00
Isaac Visintainer
68a8f8d3fe renamed nutalk to landscape again 2018-08-30 10:59:11 -07:00
Elliot Glaysher
e049d6080b Run tests in alphabetical order. 2018-08-30 10:35:20 -07:00
Elliot Glaysher
bf3d61288e Further merge fixes. 2018-08-29 15:54:54 -07:00
Elliot Glaysher
ac089cef80 Merge remote-tracking branch 'origin/release-candidate' into remove-eny-from-tests 2018-08-29 15:45:10 -07:00
Ted Blackman
d88aa0c79e document +expect-schematic 2018-08-29 15:00:40 -07:00
Elliot Glaysher
03ed4dbee5 Rebuild the test support library so its easier and doesn't use entropy. 2018-08-29 14:57:22 -07:00
Ted Blackman
3b4ca6c8a9 +expect-schematic in ford test lib 2018-08-29 14:56:54 -07:00
Elliot Glaysher
51e46d2e03
Merge pull request #791 from urbit/expect-nu-eq
Redo +expect-eq and consolidate tests
2018-08-29 13:34:42 -07:00
Elliot Glaysher
fbfabe50d3 10: Mass rename +expect-nu-eq to +expect-eq 2018-08-29 11:09:37 -07:00
Elliot Glaysher
66c74bcd74 Merge remote-tracking branch 'origin/acme-factor' into expect-nu-eq 2018-08-29 10:25:30 -07:00
Fang
737b1d8ba1
Merge pull request #787 from urbit/crypto-additions
Includes in zuse:
* little-endian wrappers for the SHA and HMAC families,
* secp256k implementation,
* Blake2b implementation,
* Argon2 implementation,

And adds libraries for:
* BIP32 HD wallets,
* keygen, to match [keygen-js](/urbit/keygen-js).
2018-08-29 18:27:51 +02:00
Joe Bryan
44c16cf75f 5. moves :acme JWK, JWS and tests out of app 2018-08-29 09:17:58 -07:00
Joe Bryan
407584cda7 4. moves :acme RS256, PKCS1/8/10, PEM and tests out of app 2018-08-29 09:17:25 -07:00
Joe Bryan
7e982c0f2c 3. moves :acme RSA and tests out of app 2018-08-29 09:17:19 -07:00
Joe Bryan
b81dedf626 2. moves :acme ASN1, DER and tests out of app 2018-08-29 09:16:44 -07:00
Joe Bryan
bf6739574a 1. moves :acme base64 and tests out of app 2018-08-29 09:16:36 -07:00
Fang
a64066db24
Correct reference to keygen surs 2018-08-29 00:58:22 +02:00
Joe Bryan
f9ed9bf02f
Merge pull request #789 from urbit/ames-eth-boot
cleans up %ames and %jael in anticipation of greater ethereum integration
2018-08-28 15:16:54 -07:00
Elliot Glaysher
e88787dee0 1: Add +expect-nu-eq and use it where we were manually nest checking. 2018-08-28 14:22:06 -07:00
Fang
f1b713dc68
Rename soq to say in BIP32 lib 2018-08-28 21:36:19 +02:00
Joe Bryan
47855b6972 disables failures, re-enables successes, or fixes failing tests 2018-08-28 11:44:33 -07:00
Fang
67be11499b
Merge branch 'release-candidate' into crypto-additions 2018-08-28 16:35:53 +02:00
Joe Bryan
f35202a9fa updates %jael to encode aut/net keys and use +pass everywhere 2018-08-27 16:36:16 -07:00
Joe Bryan
4567fddb5f removes deprecated +crua, updates %eyre and lib/hood/write to use +crub 2018-08-27 16:35:37 -07:00
Joe Bryan
66bc5cdc4c finishes symbol renaming (fas->net) in mar/ and lib/ 2018-08-27 16:23:52 -07:00
Joe Bryan
50782bd1c9 Merge branch 'research-constitution' into release-candidate
* research-constitution: (120 commits)
  removes obsolete doccords-style comments
  Revert "fixy uno~by, other vor-based code duplication"
  Implement argon2.
  Use face over lark when available.
  Implement blake2b.
  Use ++rep over ++can when we can
  Use ++rev over ++swp, for safety.
  Clean up base58 en/decoding
  Rename secp point serialization arms
  Add HMAC-SHA1
  Put +=byts to use
  Restructure and complete BIP32 core
  Fix bug in RIPEMD-160 implementation.
  BIP32 key derivation logic. Messy, in dire need of restructuring.
  Fix bug in HMAC implementation.
  SHA-1 re-implementation, can account for leading zeroes.
  Converting points on curve to un/compressed numbers.
  RIPEMD-160 implementation.
  Start work on BIP32 support. Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it. Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
  Add ++rev to bit arithmetic, for reversing block order while accounting for leading zeroes.
  ...
2018-08-27 15:48:13 -07:00
Joe Bryan
a6f3c2f5f9 removes obsolete doccords-style comments 2018-08-27 15:33:32 -07:00
Elliot Glaysher
0286254b69 Merge branch 'ford-turbo' of github.com:urbit/arvo into ford-turbo 2018-08-23 15:15:50 -07:00
Ted Blackman
174ab25b14 remove lib/new-hoon and all uses 2018-08-23 15:03:55 -07:00
Elliot Glaysher
fb75c55286 Merge remote-tracking branch 'origin/collections' into ford-turbo 2018-08-23 10:41:29 -07:00
Ted Blackman
6105894e6e kill spam print 2018-08-22 22:35:38 -07:00
Ted Blackman
3a175e8802 print if an arm fails to compile to a test 2018-08-22 21:28:00 -07:00
Ted Blackman
84cc46e609 +test passes using %ct and presenting compile errors 2018-08-22 20:53:49 -07:00
Elliot Glaysher
b166a55792 Get the collections page displaying. Requires a second reload. 2018-08-21 14:13:58 -07:00
Ted Blackman
5f485716e1 Fixed |keep-ford and |wipe-ford 2018-08-20 17:30:56 -07:00
Isaac Visintainer
b4cbe1d45d collections-api-changes 2018-08-20 14:16:57 -07:00
Elliot Glaysher
ba0de921ab Merge remote-tracking branch 'origin/collections' into ford-turbo 2018-08-20 13:14:13 -07:00
Elliot Glaysher
222c5c82c0 Make %hall and %talk started on boot. 2018-08-20 11:40:48 -07:00
Curtis Yarvin
3c45fc55de Smoke-test boots with full ford-turbo merge. 2018-08-19 16:06:19 -07:00
Curtis Yarvin
0bceb27dbe Merge remote-tracking branch 'origin/ford-turbo' into ford-turbo-original 2018-08-17 15:26:51 -07:00
Curtis Yarvin
d062445ffb Merge commit '89a0a' into ford-turbo-original 2018-08-17 15:04:31 -07:00
Curtis Yarvin
a6b8407bc4 Building, without (strangely) command:lens 2018-08-15 17:23:37 -07:00
Curtis Yarvin
fa9c4636f9 Merge branch 'research-tome' into ford-turbo-original 2018-08-15 16:48:37 -07:00
Logan Allen
b387f70fdc Isaac and I merged hall read/unread with latest collections. 2018-08-15 16:40:29 -07:00
Ted Blackman
ddef8079a3 |keep and associated machinery 2018-08-15 13:58:54 -07:00
Fang
8fc069eb79 Standardize Argon2u parameters 2018-08-15 01:08:16 +02:00
Fang
3fc265a424 Rename entropy to ticket 2018-08-14 01:36:21 +02:00
Fang
aec81b4d50 Flatten spawn seeds to be derived from the owner seed 2018-08-14 01:36:03 +02:00
Fang
ecb911a53a Support revisions per key type, broaden interface 2018-08-13 21:33:27 +02:00
Fang
3d984ff87f Update keygen to match latest spec and have slightly better code style 2018-08-10 20:36:26 +02:00
Elliot Glaysher
dded51f0cd Start %collections on startup, too. 2018-08-09 16:06:14 -07:00
Elliot Glaysher
ab63875449 Merge branch 'collections-redesign' into ford-turbo-eyre-sec
The %collections app now starts.
2018-08-09 15:50:25 -07:00
Joe Bryan
b0ecbcd2ab Merge branch 'master' into collections
* master: (27 commits)
  Transfer ~tep to Rivendell and ~bes to NSPV.
  moar changes
  stylistic changes
  included full group information in scry
  clay permissions issue #749
  fixed outside urls
  fixed clay mut problem
  let us not include .html extensions in our urls if we don't want to
  Bump Ames :protocol-version from 1 to 2
  made hymn renderer unneccesary
  variety of bug-fixes
  first pass, basic functionality working
  Transition ~marzod's Ask duties to a dedicated ship
  Bump Ames :protocol-version from 0 to 1
  fixes +spin to preserve the type of the head of the product
  simplified the code
  now covers posts with spaces and no text
  Revert "Revert "Change %w care to return both @ud and @da cases""
  Revert "Change %w care to return both @ud and @da cases"
  Posts and Comments with no text ignored
  ...
2018-08-09 18:13:52 -04:00
Elliot Glaysher
11cb648399 Trying to get collections working 2018-08-09 14:59:33 -07:00
Elliot Glaysher
89a0a91c57 Boots without old ford. 2018-08-09 11:22:37 -07:00
Elliot Glaysher
8d224e1279 Next fix. 2018-08-08 15:14:26 -07:00
Elliot Glaysher
81bd72ee21 WIP: Commiting so I can get the ~+ patch. 2018-08-08 14:47:01 -07:00