Jędrzej Stuczyński
97a944a33e
Updated wasm code to work with new gateway and updated the example ( #219 )
...
* Updated wasm code to work with new gateway and updated the example
* cargo fmt
* Fixed test by ensuring destination is present at a gateway
* Updated hardcoded default port
* ibid. to correct value
2020-05-06 16:20:43 +01:00
Jędrzej Stuczyński
4af5788bba
Feature/limit direct sphinx dependency + remove direct curve25519 dependency from wasm client ( #189 )
...
* Initial set of re-exported sphinx types and constants
* Removed direct sphinx dependency from healthchecker
* Crypto module
* nym-client no longer needing sphinx
* All common modules
* mix-client until removed
* Sfw-provider no longer depending on sphinx crate
* Mixnode no longe depending directly on sphinx crate
* Ibid. for sfw-provider-requests
* Corrected import inside nymsphinx itself
* wasm client no longer needing direct sphinx dependency
* Required gateway change due to re-exporting constants in one place
* Missing import path changes in tests
* Removed direct dependency on curve25519 from wasm client
* Lock file changes
2020-04-20 16:59:51 +01:00
Dave Hrycyszyn
7088fb3ffc
Upgraded all Sphinx commits to latest.
2020-04-15 13:08:31 +01:00
Dave Hrycyszyn
3c8aad49fc
Updated all uses of ed25519-dalek to 2.0.0 so that wasm-pack build works
2020-04-09 17:20:22 +01:00
Dave Hrycyszyn
0d33d35437
nym-sphinx-wasm: updating to latest Sphinx
2020-04-09 16:41:01 +01:00
Dave Hrycyszyn
3f06ccc36b
Adding Apache 2 license headers to all files ( #178 )
2020-04-09 11:24:24 +01:00
Jędrzej Stuczyński
aee3286793
Feature/packet chunking ( #158 )
...
Basic support for message chunking and reconstruction. It's now possible to take arbitrarily-sized input and send it through the mixnet. The sending Nym client will automatically chunk the input into Sphinx packets, and the receiving Nym client will then reconstruct the message at the other end.
2020-03-31 16:00:41 +01:00
Jedrzej Stuczynski
f73d6371d2
Made clippy happier
2020-03-05 15:18:07 +00:00
Jedrzej Stuczynski
3a2ad5ae10
sphinx version upgrade
2020-03-02 15:40:12 +00:00
Jedrzej Stuczynski
1f69f09072
Fixed address derivation
2020-03-02 12:19:38 +00:00
Jedrzej Stuczynski
03aac5bd35
Updated sphinx
2020-02-28 12:32:47 +00:00
Jedrzej Stuczynski
71c465afd5
Updated sphinx rev
2020-02-27 12:49:49 +00:00
Jedrzej Stuczynski
3f3dfd404c
Removed derivation of copy on private keys
2020-02-26 17:05:36 +00:00
Jedrzej Stuczynski
e03fd54739
Updated sphinx version
2020-02-26 17:05:18 +00:00
Jedrzej Stuczynski
1a8573632f
'new_without_default' clippy warnings
2020-02-19 15:38:46 +00:00
Jedrzej Stuczynski
b1207caf7c
Inner methods on private/public encryption keys
2020-02-04 12:58:24 +00:00
Jedrzej Stuczynski
8caf218aed
To and from b58 string on encryption public key
2020-02-04 12:39:03 +00:00
Jedrzej Stuczynski
4c900bbfff
Extended pemstorable traits with methods required for more generic store
2020-02-04 12:13:49 +00:00
Jedrzej Stuczynski
165d022015
Defined 'PemStorableKeypair' trait and implemented it on existing keypairs
2020-02-04 11:28:49 +00:00
Jedrzej Stuczynski
495b0c7ed9
Renamed 'PemStorable' trait to 'PemStorableKey'
2020-02-04 11:21:00 +00:00
Jedrzej Stuczynski
f3da6d4258
Updated used sphinx revision
2020-01-31 15:07:38 +00:00
Dave Hrycyszyn
9797b8da74
crypto: simplified keypairs a bit
2020-01-30 12:27:00 +00:00
Dave Hrycyszyn
6b879e88e7
nym: removing type parameters on keypairs
2020-01-30 12:19:23 +00:00
Jedrzej Stuczynski
a73585e13a
Simplified the use of generics on identity keypair by using output types
2020-01-29 15:30:20 +00:00
Jedrzej Stuczynski
a9ad990452
Missing cargo.toml changes
2020-01-27 17:11:09 +00:00
Jedrzej Stuczynski
4ace90ad8b
Clone requirement on identity keys + 'derive address' method on public key
2020-01-27 17:08:50 +00:00
Dave Hrycyszyn
a55b87809e
encoding: updating all remaining usages of base64 to base58
2020-01-27 12:10:18 +00:00
Dave Hrycyszyn
398fa5c643
Merge branch 'develop' into feature/base58
2020-01-24 16:40:32 +00:00
Jedrzej Stuczynski
1b787c94bf
Removed unwrap/expect calls wherever feasible and introduced Result types where appropriate
2020-01-24 15:31:40 +00:00
Dave Hrycyszyn
753ecf6b6a
crypto: replaced base64 with bs58
2020-01-23 15:06:10 +00:00
Dave Hrycyszyn
09cb17e6ab
all: using pretty_env_logger pretty much everywhere
2020-01-22 16:29:59 +00:00
Dave Hrycyszyn
507e910e72
Pulled nym-client binary out to top-level
2020-01-13 18:25:05 +00:00
Jedrzej Stuczynski
1ad651fe72
Updated comments regarding DummyMix pair
2020-01-10 14:14:59 +00:00
Jedrzej Stuczynski
e4501852d5
Made curve generator private
2020-01-10 14:12:29 +00:00
Jedrzej Stuczynski
402b226080
Updated depenencies
2020-01-10 13:53:10 +00:00
Jedrzej Stuczynski
0492a21bcf
Easier conversion of keypairs from bytes
2020-01-10 13:51:50 +00:00
Jedrzej Stuczynski
3e533cdee2
ibid for identity keys
2020-01-10 13:50:32 +00:00
Jedrzej Stuczynski
6e3b2c36fe
encryption keys now need to implement PemStorable
2020-01-10 13:49:44 +00:00
Jedrzej Stuczynski
73028f85a9
Defined trait for returning key pem type
2020-01-10 13:49:00 +00:00
Jedrzej Stuczynski
d0d894a309
Implementing said traits on dummy struct using x25519
2020-01-10 11:50:48 +00:00
Jedrzej Stuczynski
db92f898d3
MixnetIdentity Key traits
2020-01-10 11:50:30 +00:00
Jedrzej Stuczynski
740a2fb2ff
X25519 impl of said traits
2020-01-10 11:50:12 +00:00
Jedrzej Stuczynski
84e34e5490
MixnetEncryption Key traits
2020-01-10 11:50:03 +00:00
Jedrzej Stuczynski
2a05d77d94
Initial crypto crate
2020-01-10 11:49:49 +00:00