Sergi Delgado Segura
a8800ac375
Integrates encryption/decryption within the Cryptographer. Close #63
...
Includes unittests. Also reformats test_inspector to avoid using cli functions
2019-12-06 13:23:02 +01:00
Sergi Delgado Segura
b4197aa5bb
Replaces hardcoded 16/32 for LOCATOR lengths
2019-12-05 11:26:58 +01:00
Sergi Delgado Segura
f0150ce585
Removes hash/cipher configuration and changes AESGCM128 for CHACHA20POLY1305
...
Updates tests accordingly
2019-12-04 17:46:07 +01:00
Turtle
98b3dcae7b
Test that server validates signature properly
2019-11-28 09:04:43 -05:00
Sergi Delgado Segura
20f296c9d4
Reformats code to match code guidelines
2019-11-07 15:47:35 +00:00
Sergi Delgado Segura
dfaec51a3b
Updates tests to dissable logging based on 17e6066
2019-10-28 14:49:52 -07:00
Sergi Delgado Segura
52f52f57f8
Apply requested changes
...
- Adds a PRG based on a hardcoded seed to make the tests reproducible (get_random_value_hex)
- Updates all the tests replacing urandom for get_random_value_hex
- Properly places misplaced bitcoin_cli in bitcoin_sim_tests
- Typos
2019-10-23 12:40:25 +01:00
Sergi Delgado Segura
d43ab76220
Updates conftest fixtures so they do not autorun
...
The modules that need to run either bitcoind or the api do now reference to the fixture in the first test that needs it. Since the fixtures are definexd session-wise the rest of the modules will have access to them from that point on.
2019-10-14 13:19:54 +01:00
Sergi Delgado Segura
abe359f7d1
Fixes test to work with session fixtures
...
Test were running fine standalone but failing / having Address reuse issues when running all together. Fixing that.
2019-10-14 13:00:21 +01:00
Salvatore Ingala
9f25ef8603
Fixes from PR review
2019-10-10 18:22:33 +07:00
Sergi Delgado Segura
f59c621cc0
Defines bitcoind fixture session-wise
2019-10-09 14:05:15 +01:00
Sergi Delgado Segura
9a18f759f9
Adds run_bitcoind fixture
2019-10-08 18:56:45 +01:00
Sergi Delgado Segura
4be506412e
Adds Inspector unittests. Fixes some related bugs.
2019-10-07 15:19:34 +01:00