hil-attest 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hil_attest-0.1.0/LICENSE +22 -0
- hil_attest-0.1.0/PKG-INFO +207 -0
- hil_attest-0.1.0/README.md +159 -0
- hil_attest-0.1.0/pyproject.toml +42 -0
- hil_attest-0.1.0/setup.cfg +4 -0
- hil_attest-0.1.0/src/hil_attest/__init__.py +7 -0
- hil_attest-0.1.0/src/hil_attest/__main__.py +4 -0
- hil_attest-0.1.0/src/hil_attest/attestation.py +439 -0
- hil_attest-0.1.0/src/hil_attest/cli.py +206 -0
- hil_attest-0.1.0/src/hil_attest/junit.py +82 -0
- hil_attest-0.1.0/src/hil_attest.egg-info/PKG-INFO +207 -0
- hil_attest-0.1.0/src/hil_attest.egg-info/SOURCES.txt +16 -0
- hil_attest-0.1.0/src/hil_attest.egg-info/dependency_links.txt +1 -0
- hil_attest-0.1.0/src/hil_attest.egg-info/entry_points.txt +2 -0
- hil_attest-0.1.0/src/hil_attest.egg-info/top_level.txt +1 -0
- hil_attest-0.1.0/tests/test_attestation.py +217 -0
- hil_attest-0.1.0/tests/test_cli.py +104 -0
- hil_attest-0.1.0/tests/test_junit.py +53 -0
hil_attest-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jay Panchal
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hil-attest
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Create reproducible in-toto test attestations for embedded hardware-in-the-loop runs
|
|
5
|
+
Author: Jay Panchal
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Jay Panchal
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://github.com/jay28panchal/hil-attest
|
|
30
|
+
Project-URL: Changelog, https://github.com/jay28panchal/hil-attest/blob/main/CHANGELOG.md
|
|
31
|
+
Project-URL: Issues, https://github.com/jay28panchal/hil-attest/issues
|
|
32
|
+
Keywords: embedded,firmware,hardware-in-the-loop,in-toto,attestation
|
|
33
|
+
Classifier: Development Status :: 3 - Alpha
|
|
34
|
+
Classifier: Environment :: Console
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Operating System :: OS Independent
|
|
37
|
+
Classifier: Programming Language :: Python :: 3
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
42
|
+
Classifier: Topic :: Software Development :: Testing
|
|
43
|
+
Classifier: Topic :: Security
|
|
44
|
+
Requires-Python: >=3.10
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
License-File: LICENSE
|
|
47
|
+
Dynamic: license-file
|
|
48
|
+
|
|
49
|
+
# hil-attest
|
|
50
|
+
|
|
51
|
+
Create reproducible, vendor-neutral evidence that a specific firmware artifact
|
|
52
|
+
was exercised by a specific hardware-in-the-loop test run.
|
|
53
|
+
|
|
54
|
+
hil-attest converts JUnit XML, privacy-safe device-under-test metadata, firmware
|
|
55
|
+
artifacts, and optional UART/RTT logs into an
|
|
56
|
+
[in-toto Test Result](https://github.com/in-toto/attestation/blob/main/spec/predicates/test-result.md)
|
|
57
|
+
statement. It also validates the statement and recomputes firmware digests
|
|
58
|
+
offline.
|
|
59
|
+
|
|
60
|
+
## Why this exists
|
|
61
|
+
|
|
62
|
+
Build provenance answers “where did this binary come from?” Hardware test
|
|
63
|
+
frameworks answer “did this test pass?” Embedded release workflows also need a
|
|
64
|
+
portable answer to “was this exact binary tested on the intended physical
|
|
65
|
+
target, and which evidence belongs to that run?”
|
|
66
|
+
|
|
67
|
+
hil-attest is the bridge. It does not replace pytest-embedded, Zephyr Twister,
|
|
68
|
+
labgrid, or GitHub artifact attestations.
|
|
69
|
+
|
|
70
|
+
## Status
|
|
71
|
+
|
|
72
|
+
Version 0.1 is an alpha-quality deterministic statement generator and verifier.
|
|
73
|
+
It does not prove the identity of the machine or operator until its output is
|
|
74
|
+
signed by a trusted system. Signing and CI publication are roadmap items.
|
|
75
|
+
|
|
76
|
+
## Requirements
|
|
77
|
+
|
|
78
|
+
- Python 3.10 or newer
|
|
79
|
+
- Ubuntu 24.04 LTS+, Windows 11 25H2+, or macOS 15+
|
|
80
|
+
- JUnit XML from any test harness
|
|
81
|
+
|
|
82
|
+
The core has no runtime dependencies. See
|
|
83
|
+
[docs/platform-support.md](docs/platform-support.md) for hardware, lifecycle,
|
|
84
|
+
and CI details.
|
|
85
|
+
|
|
86
|
+
## Install
|
|
87
|
+
|
|
88
|
+
~~~console
|
|
89
|
+
pipx install hil-attest
|
|
90
|
+
~~~
|
|
91
|
+
|
|
92
|
+
Or `python -m pip install hil-attest` inside a virtual environment.
|
|
93
|
+
|
|
94
|
+
## Install for development
|
|
95
|
+
|
|
96
|
+
~~~console
|
|
97
|
+
python -m venv .venv
|
|
98
|
+
.venv/bin/python -m pip install -e .
|
|
99
|
+
~~~
|
|
100
|
+
|
|
101
|
+
On Windows, use .venv\Scripts\python.exe.
|
|
102
|
+
|
|
103
|
+
## Create an attestation
|
|
104
|
+
|
|
105
|
+
Prepare a small DUT metadata file:
|
|
106
|
+
|
|
107
|
+
~~~json
|
|
108
|
+
{
|
|
109
|
+
"board": "nrf52840dk_nrf52840",
|
|
110
|
+
"target": "nRF52840",
|
|
111
|
+
"transport": "J-Link RTT",
|
|
112
|
+
"runner": "pytest-embedded",
|
|
113
|
+
"device_id_hash": "sha256:replace-with-a-one-way-hash"
|
|
114
|
+
}
|
|
115
|
+
~~~
|
|
116
|
+
|
|
117
|
+
Then bind the test evidence to the firmware:
|
|
118
|
+
|
|
119
|
+
~~~console
|
|
120
|
+
hil-attest create \
|
|
121
|
+
--artifact build/zephyr/zephyr.hex \
|
|
122
|
+
--artifact build/zephyr/zephyr.elf \
|
|
123
|
+
--junit build/test-results.xml \
|
|
124
|
+
--dut dut.json \
|
|
125
|
+
--evidence build/uart.log \
|
|
126
|
+
--output build/hil-attestation.json
|
|
127
|
+
~~~
|
|
128
|
+
|
|
129
|
+
Raw serial numbers, MAC addresses, IP addresses, and similar identifiers are
|
|
130
|
+
rejected by default. Store one-way hashes when correlation is necessary.
|
|
131
|
+
|
|
132
|
+
## Verify
|
|
133
|
+
|
|
134
|
+
~~~console
|
|
135
|
+
hil-attest verify build/hil-attestation.json \
|
|
136
|
+
--artifact build/zephyr/zephyr.hex \
|
|
137
|
+
--artifact build/zephyr/zephyr.elf \
|
|
138
|
+
--junit build/test-results.xml \
|
|
139
|
+
--dut dut.json \
|
|
140
|
+
--evidence build/uart.log \
|
|
141
|
+
--require-result PASSED \
|
|
142
|
+
--require-board nrf52840dk_nrf52840 \
|
|
143
|
+
--require-target nRF52840 \
|
|
144
|
+
--require-passed-test boot::banner
|
|
145
|
+
hil-attest inspect build/hil-attestation.json
|
|
146
|
+
~~~
|
|
147
|
+
|
|
148
|
+
Verification checks the in-toto/Test Result field profile, result consistency,
|
|
149
|
+
embedded metadata integrity, and supplied firmware, JUnit, DUT, and evidence
|
|
150
|
+
files. Optional per-test lists may be omitted as allowed by Test Result v0.1.
|
|
151
|
+
Policy flags can gate on the overall result, embedded board/target, and named
|
|
152
|
+
passing tests. An unsigned statement provides integrity linkage, not signer
|
|
153
|
+
identity. See [docs/conformance.md](docs/conformance.md) for the exact
|
|
154
|
+
compatibility scope.
|
|
155
|
+
|
|
156
|
+
To publish a signed custom predicate with GitHub artifact attestations, export
|
|
157
|
+
the predicate portion without duplicating the statement wrapper:
|
|
158
|
+
|
|
159
|
+
~~~console
|
|
160
|
+
hil-attest export-predicate build/hil-attestation.json \
|
|
161
|
+
--output build/hil-predicate.json
|
|
162
|
+
~~~
|
|
163
|
+
|
|
164
|
+
See [docs/github-attestations.md](docs/github-attestations.md) for a complete
|
|
165
|
+
workflow fragment and verification commands.
|
|
166
|
+
|
|
167
|
+
## Output model
|
|
168
|
+
|
|
169
|
+
- Subject: each tested firmware image or ELF, identified by SHA-256.
|
|
170
|
+
- Configuration: canonical DUT metadata, JUnit XML digest, and evidence digests.
|
|
171
|
+
- Result: PASSED, WARNED, or FAILED.
|
|
172
|
+
- Tests: stable lists of passed, skipped/warned, and failed test names.
|
|
173
|
+
- URL: optional CI or lab-run link.
|
|
174
|
+
|
|
175
|
+
Absolute local paths and timestamps are intentionally omitted so identical
|
|
176
|
+
inputs produce identical output.
|
|
177
|
+
|
|
178
|
+
## Works with any hardware
|
|
179
|
+
|
|
180
|
+
hil-attest is vendor-neutral. It fingerprints any firmware file and reads JUnit
|
|
181
|
+
XML from any test harness, so the chip family does not matter. Ready-to-run
|
|
182
|
+
examples:
|
|
183
|
+
|
|
184
|
+
| Example | Board | Harness | Result |
|
|
185
|
+
|---|---|---|---|
|
|
186
|
+
| [examples/](examples/) | nRF52840 DK | pytest-embedded | PASSED |
|
|
187
|
+
| [examples/stm32/](examples/stm32/) | NUCLEO-F446RE | Ceedling/Unity | PASSED |
|
|
188
|
+
| [examples/esp32/](examples/esp32/) | ESP32-DevKitC | pytest-embedded (ESP-IDF) | WARNED (one skipped test) |
|
|
189
|
+
|
|
190
|
+
## Supported test ecosystems
|
|
191
|
+
|
|
192
|
+
Any harness that emits JUnit XML works. Initial integration documentation
|
|
193
|
+
covers pytest-embedded, Zephyr/Twister, and labgrid-style pytest runs. See
|
|
194
|
+
[docs/integrations.md](docs/integrations.md).
|
|
195
|
+
|
|
196
|
+
## Security and trust
|
|
197
|
+
|
|
198
|
+
Read [SECURITY.md](SECURITY.md) before using statements as release gates.
|
|
199
|
+
hil-attest does not claim a physical test occurred merely because a file says
|
|
200
|
+
so. A production policy should require a signature from a controlled HIL runner
|
|
201
|
+
and verify the expected board configuration.
|
|
202
|
+
|
|
203
|
+
## Contributing
|
|
204
|
+
|
|
205
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md). The design and research rationale are
|
|
206
|
+
documented in [docs/design.md](docs/design.md).
|
|
207
|
+
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# hil-attest
|
|
2
|
+
|
|
3
|
+
Create reproducible, vendor-neutral evidence that a specific firmware artifact
|
|
4
|
+
was exercised by a specific hardware-in-the-loop test run.
|
|
5
|
+
|
|
6
|
+
hil-attest converts JUnit XML, privacy-safe device-under-test metadata, firmware
|
|
7
|
+
artifacts, and optional UART/RTT logs into an
|
|
8
|
+
[in-toto Test Result](https://github.com/in-toto/attestation/blob/main/spec/predicates/test-result.md)
|
|
9
|
+
statement. It also validates the statement and recomputes firmware digests
|
|
10
|
+
offline.
|
|
11
|
+
|
|
12
|
+
## Why this exists
|
|
13
|
+
|
|
14
|
+
Build provenance answers “where did this binary come from?” Hardware test
|
|
15
|
+
frameworks answer “did this test pass?” Embedded release workflows also need a
|
|
16
|
+
portable answer to “was this exact binary tested on the intended physical
|
|
17
|
+
target, and which evidence belongs to that run?”
|
|
18
|
+
|
|
19
|
+
hil-attest is the bridge. It does not replace pytest-embedded, Zephyr Twister,
|
|
20
|
+
labgrid, or GitHub artifact attestations.
|
|
21
|
+
|
|
22
|
+
## Status
|
|
23
|
+
|
|
24
|
+
Version 0.1 is an alpha-quality deterministic statement generator and verifier.
|
|
25
|
+
It does not prove the identity of the machine or operator until its output is
|
|
26
|
+
signed by a trusted system. Signing and CI publication are roadmap items.
|
|
27
|
+
|
|
28
|
+
## Requirements
|
|
29
|
+
|
|
30
|
+
- Python 3.10 or newer
|
|
31
|
+
- Ubuntu 24.04 LTS+, Windows 11 25H2+, or macOS 15+
|
|
32
|
+
- JUnit XML from any test harness
|
|
33
|
+
|
|
34
|
+
The core has no runtime dependencies. See
|
|
35
|
+
[docs/platform-support.md](docs/platform-support.md) for hardware, lifecycle,
|
|
36
|
+
and CI details.
|
|
37
|
+
|
|
38
|
+
## Install
|
|
39
|
+
|
|
40
|
+
~~~console
|
|
41
|
+
pipx install hil-attest
|
|
42
|
+
~~~
|
|
43
|
+
|
|
44
|
+
Or `python -m pip install hil-attest` inside a virtual environment.
|
|
45
|
+
|
|
46
|
+
## Install for development
|
|
47
|
+
|
|
48
|
+
~~~console
|
|
49
|
+
python -m venv .venv
|
|
50
|
+
.venv/bin/python -m pip install -e .
|
|
51
|
+
~~~
|
|
52
|
+
|
|
53
|
+
On Windows, use .venv\Scripts\python.exe.
|
|
54
|
+
|
|
55
|
+
## Create an attestation
|
|
56
|
+
|
|
57
|
+
Prepare a small DUT metadata file:
|
|
58
|
+
|
|
59
|
+
~~~json
|
|
60
|
+
{
|
|
61
|
+
"board": "nrf52840dk_nrf52840",
|
|
62
|
+
"target": "nRF52840",
|
|
63
|
+
"transport": "J-Link RTT",
|
|
64
|
+
"runner": "pytest-embedded",
|
|
65
|
+
"device_id_hash": "sha256:replace-with-a-one-way-hash"
|
|
66
|
+
}
|
|
67
|
+
~~~
|
|
68
|
+
|
|
69
|
+
Then bind the test evidence to the firmware:
|
|
70
|
+
|
|
71
|
+
~~~console
|
|
72
|
+
hil-attest create \
|
|
73
|
+
--artifact build/zephyr/zephyr.hex \
|
|
74
|
+
--artifact build/zephyr/zephyr.elf \
|
|
75
|
+
--junit build/test-results.xml \
|
|
76
|
+
--dut dut.json \
|
|
77
|
+
--evidence build/uart.log \
|
|
78
|
+
--output build/hil-attestation.json
|
|
79
|
+
~~~
|
|
80
|
+
|
|
81
|
+
Raw serial numbers, MAC addresses, IP addresses, and similar identifiers are
|
|
82
|
+
rejected by default. Store one-way hashes when correlation is necessary.
|
|
83
|
+
|
|
84
|
+
## Verify
|
|
85
|
+
|
|
86
|
+
~~~console
|
|
87
|
+
hil-attest verify build/hil-attestation.json \
|
|
88
|
+
--artifact build/zephyr/zephyr.hex \
|
|
89
|
+
--artifact build/zephyr/zephyr.elf \
|
|
90
|
+
--junit build/test-results.xml \
|
|
91
|
+
--dut dut.json \
|
|
92
|
+
--evidence build/uart.log \
|
|
93
|
+
--require-result PASSED \
|
|
94
|
+
--require-board nrf52840dk_nrf52840 \
|
|
95
|
+
--require-target nRF52840 \
|
|
96
|
+
--require-passed-test boot::banner
|
|
97
|
+
hil-attest inspect build/hil-attestation.json
|
|
98
|
+
~~~
|
|
99
|
+
|
|
100
|
+
Verification checks the in-toto/Test Result field profile, result consistency,
|
|
101
|
+
embedded metadata integrity, and supplied firmware, JUnit, DUT, and evidence
|
|
102
|
+
files. Optional per-test lists may be omitted as allowed by Test Result v0.1.
|
|
103
|
+
Policy flags can gate on the overall result, embedded board/target, and named
|
|
104
|
+
passing tests. An unsigned statement provides integrity linkage, not signer
|
|
105
|
+
identity. See [docs/conformance.md](docs/conformance.md) for the exact
|
|
106
|
+
compatibility scope.
|
|
107
|
+
|
|
108
|
+
To publish a signed custom predicate with GitHub artifact attestations, export
|
|
109
|
+
the predicate portion without duplicating the statement wrapper:
|
|
110
|
+
|
|
111
|
+
~~~console
|
|
112
|
+
hil-attest export-predicate build/hil-attestation.json \
|
|
113
|
+
--output build/hil-predicate.json
|
|
114
|
+
~~~
|
|
115
|
+
|
|
116
|
+
See [docs/github-attestations.md](docs/github-attestations.md) for a complete
|
|
117
|
+
workflow fragment and verification commands.
|
|
118
|
+
|
|
119
|
+
## Output model
|
|
120
|
+
|
|
121
|
+
- Subject: each tested firmware image or ELF, identified by SHA-256.
|
|
122
|
+
- Configuration: canonical DUT metadata, JUnit XML digest, and evidence digests.
|
|
123
|
+
- Result: PASSED, WARNED, or FAILED.
|
|
124
|
+
- Tests: stable lists of passed, skipped/warned, and failed test names.
|
|
125
|
+
- URL: optional CI or lab-run link.
|
|
126
|
+
|
|
127
|
+
Absolute local paths and timestamps are intentionally omitted so identical
|
|
128
|
+
inputs produce identical output.
|
|
129
|
+
|
|
130
|
+
## Works with any hardware
|
|
131
|
+
|
|
132
|
+
hil-attest is vendor-neutral. It fingerprints any firmware file and reads JUnit
|
|
133
|
+
XML from any test harness, so the chip family does not matter. Ready-to-run
|
|
134
|
+
examples:
|
|
135
|
+
|
|
136
|
+
| Example | Board | Harness | Result |
|
|
137
|
+
|---|---|---|---|
|
|
138
|
+
| [examples/](examples/) | nRF52840 DK | pytest-embedded | PASSED |
|
|
139
|
+
| [examples/stm32/](examples/stm32/) | NUCLEO-F446RE | Ceedling/Unity | PASSED |
|
|
140
|
+
| [examples/esp32/](examples/esp32/) | ESP32-DevKitC | pytest-embedded (ESP-IDF) | WARNED (one skipped test) |
|
|
141
|
+
|
|
142
|
+
## Supported test ecosystems
|
|
143
|
+
|
|
144
|
+
Any harness that emits JUnit XML works. Initial integration documentation
|
|
145
|
+
covers pytest-embedded, Zephyr/Twister, and labgrid-style pytest runs. See
|
|
146
|
+
[docs/integrations.md](docs/integrations.md).
|
|
147
|
+
|
|
148
|
+
## Security and trust
|
|
149
|
+
|
|
150
|
+
Read [SECURITY.md](SECURITY.md) before using statements as release gates.
|
|
151
|
+
hil-attest does not claim a physical test occurred merely because a file says
|
|
152
|
+
so. A production policy should require a signature from a controlled HIL runner
|
|
153
|
+
and verify the expected board configuration.
|
|
154
|
+
|
|
155
|
+
## Contributing
|
|
156
|
+
|
|
157
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md). The design and research rationale are
|
|
158
|
+
documented in [docs/design.md](docs/design.md).
|
|
159
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "hil-attest"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Create reproducible in-toto test attestations for embedded hardware-in-the-loop runs"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { file = "LICENSE" }
|
|
12
|
+
authors = [{ name = "Jay Panchal" }]
|
|
13
|
+
keywords = ["embedded", "firmware", "hardware-in-the-loop", "in-toto", "attestation"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 3 - Alpha",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.10",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Programming Language :: Python :: 3.13",
|
|
24
|
+
"Topic :: Software Development :: Testing",
|
|
25
|
+
"Topic :: Security",
|
|
26
|
+
]
|
|
27
|
+
dependencies = []
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
hil-attest = "hil_attest.cli:main"
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://github.com/jay28panchal/hil-attest"
|
|
34
|
+
Changelog = "https://github.com/jay28panchal/hil-attest/blob/main/CHANGELOG.md"
|
|
35
|
+
Issues = "https://github.com/jay28panchal/hil-attest/issues"
|
|
36
|
+
|
|
37
|
+
[tool.setuptools]
|
|
38
|
+
package-dir = {"" = "src"}
|
|
39
|
+
|
|
40
|
+
[tool.setuptools.packages.find]
|
|
41
|
+
where = ["src"]
|
|
42
|
+
|