Browse Source

moved tests to parent directory

upload-fix
Kevin Froman 2 years ago
parent
commit
4f6f83f383
No known key found for this signature in database GPG Key ID: D414D0FE405B63B
17 changed files with 31 additions and 18 deletions
  1. +1
    -1
      .gitignore
  2. +1
    -1
      SECURITY.md
  3. +1
    -2
      run_tests.sh
  4. +2
    -1
      tests/test_blocks.py
  5. +2
    -1
      tests/test_commands.py
  6. +2
    -1
      tests/test_database_actions.py
  7. +2
    -1
      tests/test_default_config_json.py
  8. +2
    -1
      tests/test_forward_secrecy.py
  9. +2
    -1
      tests/test_getopenport.py
  10. +2
    -1
      tests/test_highlevelcrypto.py
  11. +2
    -1
      tests/test_identifyhome.py
  12. +2
    -1
      tests/test_keymanager.py
  13. +2
    -1
      tests/test_networkmerger.py
  14. +2
    -1
      tests/test_onionrusers.py
  15. +2
    -1
      tests/test_storagecounter.py
  16. +2
    -1
      tests/test_stringvalidations.py
  17. +2
    -1
      tests/test_zfill.py

+ 1
- 1
.gitignore View File

@ -20,7 +20,7 @@ core
venv/*
onionr/fs*
onionr/tmp/*
testdata/*
*.dll
*.exe


+ 1
- 1
SECURITY.md View File

@ -17,7 +17,7 @@ The following exploits are of particular interest:
* Discovering true server IPs when behind Tor/I2P (aside from Tor/i2p-level attacks)
* Easily discovering which nodes are the block creator
* XSS, CSRF, clickjacking, DNS rebinding
* Timing attacks against the local http server ([see blog post](https://www.chaoswebs.net/blog/timebleed-breaking-privacy-with-a-simple-timing-attack.html))
* Timing attacks against the local http server that are exploitable from a browser ([see blog post](https://www.chaoswebs.net/blog/timebleed-breaking-privacy-with-a-simple-timing-attack.html))
* Discovering direct connection servers as a non participant.
* Cryptography/protocol issues
* Denying nodes access to the network by segmenting them out with Sybil nodes


+ 1
- 2
run_tests.sh View File

@ -1,5 +1,4 @@
#!/bin/bash
cd onionr;
rm -rf testdata;
mkdir testdata;
ran=0
@ -14,4 +13,4 @@ for f in tests/*.py; do
python3 "$f" || close # if needed
let "ran++"
done
echo "ran $ran test files successfully in $SECONDS seconds"
echo "ran $ran test files successfully in $SECONDS seconds"

onionr/tests/test_blocks.py → tests/test_blocks.py View File


onionr/tests/test_commands.py → tests/test_commands.py View File


onionr/tests/test_database_actions.py → tests/test_database_actions.py View File


onionr/tests/test_default_config_json.py → tests/test_default_config_json.py View File


onionr/tests/test_forward_secrecy.py → tests/test_forward_secrecy.py View File


onionr/tests/test_getopenport.py → tests/test_getopenport.py View File


onionr/tests/test_highlevelcrypto.py → tests/test_highlevelcrypto.py View File


onionr/tests/test_identifyhome.py → tests/test_identifyhome.py View File


onionr/tests/test_keymanager.py → tests/test_keymanager.py View File


onionr/tests/test_networkmerger.py → tests/test_networkmerger.py View File


onionr/tests/test_onionrusers.py → tests/test_onionrusers.py View File


onionr/tests/test_storagecounter.py → tests/test_storagecounter.py View File


onionr/tests/test_stringvalidations.py → tests/test_stringvalidations.py View File


onionr/tests/test_zfill.py → tests/test_zfill.py View File


Loading…
Cancel
Save