Commit Graph

1513 Commits

Author SHA1 Message Date
Matias Alejo Garcia 1115699337 Merge pull request #881 from ryanxcharles/feature/nonce
WIP: Add nonce to network protocol
2014-07-09 05:45:38 -03:00
Ryan X. Charles 643cad3a39 change encryption to work on hex strings
..instead of binary, to work around an issue with bitcore/sjcl. I'm not sure
what the issue is exactly, except that encryption of binary data isn't working
correctly due to some kind of string stuff involving decodeURIComponent inside
sjcl. I haven't fully figured it out. For now I am changing the network
protocol to hex to workaround the issue.

See this: https://github.com/bitpay/bitcore/pull/416
2014-07-09 01:13:42 -07:00
Matias Alejo Garcia 8fa1c69683 Merge pull request #880 from cmgustavo/bug/01-ui
UI Fixes
2014-07-09 05:08:20 -03:00
Ryan X. Charles 88ab38eb00 add nonce support to WebRTC and Wallet
Each person keeps track of their own nonce, and the nonces of the other
copayers. The nonce is iterated for each message. If a person ever doesn't
iterate their nonce, that message is discarded by the copayers.

The nonces are saved as networkNonce (your nonce) and networkNonces (the nonces
of your copayers) in the wallet file.

In order to support restoring old wallets, the first four bytes of the 8 byte
nonce are actually the current time in seconds. Thus you can restore an old
wallet, because certainly at least one second has passed since your last
message. Only if you try to restore an old wallet within 1 second from the time
of your last message will you have a problem (or if your system clock is
grossly inaccurate).
2014-07-08 23:03:30 -07:00
Gustavo Maximiliano Cortez 8b4fc1a3bc Fixes:
* Boxes for small and large devices.
* Unified "go back" buttons.
* Notifications style.
* Tooptips style.
2014-07-09 02:38:07 -03:00
Ryan X. Charles a1155c2798 add support for 8 byte big endian nonce to Message
...network protocol is backwards incompatible with previous network protocl.
also includes a second version number for backwards-compatible changes (the
original version number was for backwards-incompatible changes).
2014-07-08 20:02:37 -07:00
Matias Alejo Garcia 9b3ce1ebe9 Merge pull request #875 from matiu/feature/extensions
Feature/extensions I merge this one myself, since these are only minor changes on scripts.
2014-07-08 23:37:29 -03:00
Matias Alejo Garcia 7bb619d144 add sign/verify scripts to npm package.json 2014-07-08 22:53:06 -03:00
Matias Alejo Garcia d97273f683 better procedure to create firefox add-on 2014-07-08 22:29:57 -03:00
Matias Alejo Garcia 27e27af7ab Merge pull request #872 from cmgustavo/bug/01-config-storage
Fixes: save config in localStorage
2014-07-08 21:00:03 -03:00
Gustavo Maximiliano Cortez d91c42ee30 Merge pull request #873 from matiu/feature/test01
Feature/test01
2014-07-08 20:13:23 -03:00
Matias Alejo Garcia 7a072e83d9 . 2014-07-08 20:05:41 -03:00
Matias Alejo Garcia 248c18596c more tests 2014-07-08 19:52:47 -03:00
Gustavo Maximiliano Cortez 5d5bf3dfc5 Merge pull request #849 from yemel/feature/backup-wallet
Wallet Backups
2014-07-08 19:17:43 -03:00
Matias Alejo Garcia fb2b6c40ba add tests to localencrypted 2014-07-08 19:11:48 -03:00
Gustavo Maximiliano Cortez 4d160a4ee7 Fixes:
* Save config in localStorage
* Show forced networkName in settings Page
2014-07-08 18:53:02 -03:00
Yemel Jardi 774f9e4def Fix importing partial backup 2014-07-08 16:47:00 -03:00
Gustavo Maximiliano Cortez 937369d0c7 Merge pull request #870 from matiu/bug/handlerNetErrors
Bug/handler net errors
2014-07-08 15:59:40 -03:00
Yemel Jardi cadd66812b Skip partial backup on 1-1 wallet 2014-07-08 15:54:10 -03:00
Yemel Jardi 4303b0beab Add tests 2014-07-08 15:54:10 -03:00
Yemel Jardi e6a9a443cc Update tests 2014-07-08 15:54:10 -03:00
Yemel Jardi 37b3543da2 Change SIN to ID 2014-07-08 15:53:34 -03:00
Yemel Jardi c145290167 Add full backup stage with user feedback 2014-07-08 15:53:34 -03:00
Yemel Jardi 49ac6dfcf4 Hold on backup page until all copayers made a full backup 2014-07-08 15:53:34 -03:00
Yemel Jardi f9fad5d62f Add partial backup at create and join 2014-07-08 15:53:34 -03:00
Matias Alejo Garcia 137e9ca108 Merge pull request #868 from cmgustavo/bug/video-intermediate-page
Fixed video while waiting for copayer
2014-07-08 15:44:25 -03:00
Matias Alejo Garcia b0ff5494e0 Merge pull request #865 from maraoz/feature/force-testnet
Feature: allow to force network from config
2014-07-08 15:35:31 -03:00
Matias Alejo Garcia c0338a1f43 add .bind 2014-07-08 15:31:03 -03:00
Gustavo Maximiliano Cortez ad403309ce Fixed video while waiting for copayer 2014-07-08 15:26:20 -03:00
Matias Alejo Garcia bbac45ee7a fixes handling networking errors and retries. Adds tests 2014-07-08 15:25:12 -03:00
Matias Alejo Garcia 5d63741f35 Merge pull request #862 from yemel/fix/address-list
Fix showing QR code on address list when it shouldn't
2014-07-08 15:05:55 -03:00
Matias Alejo Garcia a111d313e1 Merge pull request #867 from bechi/feature/backup-
backup & delete wallet
2014-07-08 15:03:49 -03:00
Bechi 0696662f71 backup & delete wallet 2014-07-08 14:59:21 -03:00
Manuel Araoz 4d70f0cf24 add message for unchangeable network 2014-07-08 13:23:43 -03:00
Manuel Araoz 1bf20dfe1f fix index.html tests 2014-07-08 13:03:59 -03:00
Manuel Araoz 00cf32fc8d add forceNetwork parameter and test it 2014-07-08 12:34:49 -03:00
Yemel Jardi cef5b72557 Fix showing QR code on address list when it shouldn't 2014-07-08 12:23:10 -03:00
Manuel Aráoz b3f2476992 Merge pull request #859 from matiu/feature/wording
change settings tab name
2014-07-08 12:10:04 -03:00
Matias Alejo Garcia 50a29909ba remove test 2014-07-08 12:02:20 -03:00
Matias Alejo Garcia ef8116d74b Update README.md 2014-07-08 11:17:38 -03:00
Matias Alejo Garcia d190aedf2b Update README.md 2014-07-08 11:15:01 -03:00
Matias Alejo Garcia ddfb7a0251 Update README.md 2014-07-08 11:04:04 -03:00
Matias Alejo Garcia 360ccd724d change settings tab name 2014-07-08 10:48:56 -03:00
Manuel Aráoz 89c3de7c71 Merge pull request #858 from matiu/bug/txproposals01
fixes txproposal notifications
2014-07-08 10:48:12 -03:00
Matias Alejo Garcia 9bd770dc89 Update TODO.md 2014-07-08 10:27:57 -03:00
Matias Alejo Garcia 01fccc776a Update README.md 2014-07-08 10:27:53 -03:00
Matias Alejo Garcia 627323dfbb Update TODO.md 2014-07-08 10:26:33 -03:00
Matias Alejo Garcia a2b736d49b remove native shell to todo. 2014-07-08 10:21:04 -03:00
Matias Alejo Garcia f79b1368e2 created TODO.md 2014-07-08 10:18:53 -03:00
Matias Alejo Garcia 141e8bddd3 fixes txproposal notifications 2014-07-08 08:58:24 -03:00