powHSM middleware:
95%
hide covered
Files
Functions
Classes
coverage.py v7.5.3
, created at 2025-07-10 13:43 +0000
File
statements
missing
excluded
coverage
adm_ledger.py
49
9
0
82%
adm_sgx.py
52
9
0
83%
admin/__init__.py
0
0
0
100%
admin/attestation_utils.py
66
0
0
100%
admin/authorize_signer.py
25
1
0
96%
admin/certificate.py
4
0
0
100%
admin/certificate_v1.py
158
2
0
99%
admin/certificate_v2.py
173
4
0
98%
admin/changepin.py
34
2
0
94%
admin/dongle_admin.py
115
3
0
97%
admin/dongle_eth.py
66
6
0
91%
admin/ledger_attestation.py
53
2
0
96%
admin/ledger_utils.py
12
0
0
100%
admin/migrate_db.py
58
1
0
98%
admin/misc.py
96
36
0
62%
admin/onboard.py
92
9
0
90%
admin/pubkeys.py
66
2
0
97%
admin/rsk_client.py
33
0
0
100%
admin/sgx_attestation.py
45
2
0
96%
admin/sgx_migration_authorization.py
80
3
0
96%
admin/signer_authorization.py
76
4
0
95%
admin/unlock.py
47
5
0
89%
admin/verify_ledger_attestation.py
93
9
0
90%
admin/verify_sgx_attestation.py
51
2
0
96%
comm/__init__.py
0
0
0
100%
comm/bip32.py
76
8
0
89%
comm/bitcoin.py
68
17
0
75%
comm/cstruct.py
107
2
0
98%
comm/english_mnemonic.py
9
1
0
89%
comm/platform.py
26
2
0
92%
comm/pow.py
96
75
0
22%
comm/protocol.py
210
4
0
98%
comm/protocol_v1.py
28
0
0
100%
comm/server.py
120
6
0
95%
comm/utils.py
72
28
0
61%
lbutils.py
47
5
0
89%
ledger/__init__.py
0
0
0
100%
ledger/block_utils.py
41
9
0
78%
ledger/hsm2dongle.py
684
68
0
90%
ledger/hsm2dongle_cmds/__init__.py
3
0
0
100%
ledger/hsm2dongle_cmds/command.py
12
0
0
100%
ledger/hsm2dongle_cmds/powhsm_attestation.py
33
0
0
100%
ledger/hsm2dongle_cmds/signer_heartbeat.py
24
0
0
100%
ledger/hsm2dongle_cmds/ui_heartbeat.py
24
0
0
100%
ledger/hsm2dongle_tcp.py
27
13
0
52%
ledger/parameters.py
19
6
0
68%
ledger/pin.py
97
13
0
87%
ledger/protocol.py
299
72
0
76%
ledger/protocol_v1.py
48
0
0
100%
ledger/signature.py
26
1
0
96%
ledger/version.py
15
2
0
87%
mgr/__init__.py
0
0
0
100%
sgx/__init__.py
0
0
0
100%
sgx/envelope.py
40
0
0
100%
sgx/hsm2dongle.py
89
0
0
100%
signapp.py
108
19
0
82%
signmigration.py
119
3
0
97%
signonetime.py
35
3
0
91%
tests/__init__.py
0
0
0
100%
tests/admin/__init__.py
0
0
0
100%
tests/admin/test_adm_ledger.py
118
0
0
100%
tests/admin/test_adm_sgx.py
102
0
0
100%
tests/admin/test_attestation_utils.py
134
0
0
100%
tests/admin/test_attestation_utils_resources.py
2
0
0
100%
tests/admin/test_authorize_signer.py
61
0
0
100%
tests/admin/test_certificate_v1.py
129
0
0
100%
tests/admin/test_certificate_v1_element.py
77
0
0
100%
tests/admin/test_certificate_v2.py
38
0
0
100%
tests/admin/test_certificate_v2_element.py
32
0
0
100%
tests/admin/test_certificate_v2_element_sgx_attestation_key.py
66
0
0
100%
tests/admin/test_certificate_v2_element_sgx_quote.py
58
0
0
100%
tests/admin/test_certificate_v2_element_x509.py
174
0
0
100%
tests/admin/test_certificate_v2_resources.py
2
0
0
100%
tests/admin/test_changepin.py
82
0
0
100%
tests/admin/test_dongle_admin.py
120
0
0
100%
tests/admin/test_dongle_eth.py
109
0
0
100%
tests/admin/test_lbutils.py
83
1
0
99%
tests/admin/test_ledger_attestation.py
173
0
0
100%
tests/admin/test_ledger_utils.py
24
0
0
100%
tests/admin/test_migrate_db.py
230
0
0
100%
tests/admin/test_misc.py
31
0
0
100%
tests/admin/test_onboard.py
267
0
0
100%
tests/admin/test_pubkeys.py
104
0
0
100%
tests/admin/test_rsk_client.py
64
0
0
100%
tests/admin/test_sgx_attestation.py
117
0
0
100%
tests/admin/test_sgx_migration_authorization.py
122
0
0
100%
tests/admin/test_signapp.py
171
0
0
100%
tests/admin/test_signer_authorization.py
105
0
0
100%
tests/admin/test_signmigration.py
305
0
0
100%
tests/admin/test_unlock.py
63
0
0
100%
tests/admin/test_verify_ledger_attestation.py
184
0
0
100%
tests/admin/test_verify_sgx_attestation.py
159
0
0
100%
tests/comm/__init__.py
0
0
0
100%
tests/comm/test_bip32.py
51
0
0
100%
tests/comm/test_bitcoin.py
80
0
0
100%
tests/comm/test_cstruct.py
63
0
0
100%
tests/comm/test_english_mnemonic.py
15
0
0
100%
tests/comm/test_protocol.py
172
0
0
100%
tests/comm/test_protocol_v1.py
52
0
0
100%
tests/comm/test_server.py
171
0
0
100%
tests/comm/test_utils.py
22
0
0
100%
tests/ledger/__init__.py
0
0
0
100%
tests/ledger/hsm2dongle_cmds/__init__.py
0
0
0
100%
tests/ledger/hsm2dongle_cmds/test_hsm2dongle_advance_blockchain.py
78
0
0
100%
tests/ledger/hsm2dongle_cmds/test_hsm2dongle_sign_auth_legacy.py
91
0
0
100%
tests/ledger/hsm2dongle_cmds/test_hsm2dongle_sign_auth_segwit.py
44
0
0
100%
tests/ledger/hsm2dongle_cmds/test_hsm2dongle_update_ancestor.py
96
0
0
100%
tests/ledger/hsm2dongle_cmds/test_powhsm_attestation.py
27
0
0
100%
tests/ledger/hsm2dongle_cmds/test_signer_heartbeat.py
21
0
0
100%
tests/ledger/hsm2dongle_cmds/test_ui_heartbeat.py
21
0
0
100%
tests/ledger/test_block_utils.py
40
0
0
100%
tests/ledger/test_hsm2dongle.py
306
5
0
98%
tests/ledger/test_pin.py
90
0
0
100%
tests/ledger/test_protocol.py
445
0
0
100%
tests/ledger/test_protocol_v1.py
112
0
0
100%
tests/ledger/test_signature.py
35
0
0
100%
tests/ledger/test_version.py
21
0
0
100%
tests/sgx/__init__.py
0
0
0
100%
tests/sgx/hsm2dongle_cmds/__init__.py
0
0
0
100%
tests/sgx/hsm2dongle_cmds/test_hsm2dongle_advance_blockchain.py
89
0
0
100%
tests/sgx/hsm2dongle_cmds/test_hsm2dongle_update_ancestor.py
107
4
0
96%
tests/sgx/test_envelope.py
36
0
0
100%
tests/sgx/test_hsm2dongle.py
185
0
0
100%
tests/test_signonetime.py
24
0
0
100%
tests/thirdparty/__init__.py
0
0
0
100%
tests/thirdparty/test_sha256.py
25
0
0
100%
thirdparty/__init__.py
0
0
0
100%
thirdparty/sha256.py
89
15
0
83%
user/__init__.py
0
0
0
100%
Total
10260
493
0
95%
No items found using the specified filter.