Skip to content

Commit

Permalink
Merge pull request #827 from GeorgePantelakis/master
Browse files Browse the repository at this point in the history
Integrating code for minerva extraction of ECDSA k values
  • Loading branch information
tomato42 committed Jul 25, 2023
2 parents 39f3a5b + eb3aa28 commit 0844695
Show file tree
Hide file tree
Showing 7 changed files with 1,558 additions and 55 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,16 @@ jobs:
- name: Install gmpy2
if: ${{ !matrix.container && matrix.python-version != '3.3' }}
run: pip install gmpy2
- name: Install M2Crypto dependencies
if: ${{ !matrix.container && matrix.python-version != '3.3' }}
run: sudo apt-get install -y swig libssl-dev
- name: Install M2Crypto (py2.7+)
if: ${{ !matrix.container && matrix.python-version != '3.3' && matrix.python-version != '3.4' && matrix.python-version != 3.5 }}
run: pip install m2crypto
- name: Install M2Crypto (py2.6)
if: ${{ matrix.container }}
run: yum install -y m2crypto
# m2crypto makes server crash with SIGSEGV (see https://github.com/tlsfuzzer/tlsfuzzer/issues/788)
# - name: Install M2Crypto dependencies
# if: ${{ !matrix.container && matrix.python-version != '3.3' }}
# run: sudo apt-get install -y swig libssl-dev
# - name: Install M2Crypto (py2.7+)
# if: ${{ !matrix.container && matrix.python-version != '3.3' && matrix.python-version != '3.4' && matrix.python-version != 3.5 }}
# run: pip install m2crypto
# - name: Install M2Crypto (py2.6)
# if: ${{ matrix.container }}
# run: yum install -y m2crypto
- name: Install build dependencies (2.6)
if: ${{ matrix.python-version == '2.6' }}
run: |
Expand Down
Binary file added tests/measurements_test_files/data.bin
Binary file not shown.
5 changes: 5 additions & 0 deletions tests/measurements_test_files/priv_key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEBMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgxjU9E8AIPoh2ji79
SqDZ+pWThRLJMejiuQnoOfonMlShRANCAAS0GXPkOdBlix8MxhK86ZtaUIcYNrWt
hf3GviuEDO5LV8yZzvf4eJsBf6RmA1manXJq1GVhNyIQS7H9qG71+pUx
-----END PRIVATE KEY-----
Binary file added tests/measurements_test_files/sigs.bin
Binary file not shown.
Binary file added tests/measurements_test_files/times.bin
Binary file not shown.
961 changes: 948 additions & 13 deletions tests/test_tlsfuzzer_extract.py

Large diffs are not rendered by default.

0 comments on commit 0844695

Please sign in to comment.