Skip to content

Commit d425bb9

Browse files
authored
Release of version 1.4.0 (#20)
By creating this pull request you agree to the terms in CONTRIBUTING.md. https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md --- DO NOT DELETE ANYTHING ABOVE THIS LINE --- CONTRIBUTING.md also tells you what to expect in the PR process. Description Release of version 1.4.0. For details see [CHANGELOG.md](CHANGELOG.md)
1 parent bb66902 commit d425bb9

File tree

375 files changed

+16026
-65235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+16026
-65235
lines changed

.gitignore

Lines changed: 171 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,174 @@
1-
.log
2-
.tlog
3-
.idea/
4-
.d
5-
.o
6-
.pyc
7-
.eggs/
8-
*.egg-info/
9-
__pycache__/
1+
# SPDX-FileCopyrightText: 2021-2024 Infineon Technologies AG
2+
# SPDX-License-Identifier: CC0-1.0
3+
4+
.export/
5+
.test.json
6+
7+
# VS Code
8+
.vscode/
9+
10+
# Visual Studio
1011
.vs/
12+
13+
# Byte-compiled / optimized / DLL files
14+
__pycache__/
15+
*.py[cod]
16+
*$py.class
17+
18+
# C extensions
19+
*.so
20+
21+
# Distribution / packaging
22+
.Python
23+
build/
24+
develop-eggs/
1125
dist/
26+
downloads/
27+
eggs/
28+
.eggs/
29+
lib/
30+
lib64/
31+
parts/
32+
sdist/
33+
var/
34+
wheels/
35+
share/python-wheels/
36+
*.egg-info/
37+
.installed.cfg
38+
*.egg
39+
MANIFEST
40+
41+
# PyInstaller
42+
# Usually these files are written by a python script from a template
43+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
44+
*.manifest
45+
*.spec
46+
47+
# Installer logs
48+
pip-log.txt
49+
pip-delete-this-directory.txt
50+
51+
# Unit test / coverage reports
52+
htmlcov/
53+
.tox/
54+
.nox/
55+
.coverage
56+
.coverage.*
57+
.cache
58+
nosetests.xml
59+
coverage.xml
60+
*.cover
61+
*.py,cover
62+
.hypothesis/
63+
.pytest_cache/
64+
cover/
65+
66+
# Translations
67+
*.mo
68+
*.pot
69+
70+
# Django stuff:
71+
*.log
72+
local_settings.py
73+
db.sqlite3
74+
db.sqlite3-journal
75+
76+
# Flask stuff:
77+
instance/
78+
.webassets-cache
79+
80+
# Scrapy stuff:
81+
.scrapy
82+
83+
# Sphinx documentation
84+
docs/_build/
85+
86+
# PyBuilder
87+
.pybuilder/
88+
target/
89+
90+
# Jupyter Notebook
91+
.ipynb_checkpoints
92+
93+
# IPython
94+
profile_default/
95+
ipython_config.py
96+
97+
# pyenv
98+
# For a library or package, you might want to ignore these files since the code is
99+
# intended to run in multiple environments; otherwise, check them in:
100+
# .python-version
101+
102+
# pipenv
103+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
104+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
105+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
106+
# install all needed dependencies.
107+
#Pipfile.lock
108+
109+
# poetry
110+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
111+
# This is especially recommended for binary packages to ensure reproducibility, and is more
112+
# commonly ignored for libraries.
113+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
114+
#poetry.lock
115+
116+
# pdm
117+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
118+
#pdm.lock
119+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
120+
# in version control.
121+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
122+
.pdm.toml
123+
.pdm-python
124+
.pdm-build/
125+
126+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
127+
__pypackages__/
128+
129+
# Celery stuff
130+
celerybeat-schedule
131+
celerybeat.pid
132+
133+
# SageMath parsed files
134+
*.sage.py
135+
136+
# Environments
137+
.env
138+
.venv
139+
env/
12140
venv/
13-
Release/
14-
Build/
15-
optigatrust/csrs/optiga-trust-m/x64/
16-
optigatrust/csrs/optiga-trust-m/x86/
141+
ENV/
142+
env.bak/
143+
venv.bak/
144+
145+
# Spyder project settings
146+
.spyderproject
147+
.spyproject
148+
149+
# Rope project settings
150+
.ropeproject
151+
152+
# mkdocs documentation
153+
/site
154+
155+
# mypy
156+
.mypy_cache/
157+
.dmypy.json
158+
dmypy.json
159+
160+
# Pyre type checker
161+
.pyre/
162+
163+
# pytype static type analyzer
164+
.pytype/
165+
166+
# Cython debug symbols
167+
cython_debug/
168+
169+
# PyCharm
170+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
171+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
172+
# and can be added to the global gitignore or merged into this file. For a more nuclear
173+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
174+
.idea/

.gitmodules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: 2021-2024 Infineon Technologies AG
2+
# SPDX-License-Identifier: CC0-1.0
3+
[submodule "extras/optiga-trust-m/external/optiga"]
4+
path = extras/optiga-trust-m/external/optiga
5+
url = https://github.com/Infineon/optiga-trust-m.git

.reuse/dep5

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: docs/*
4+
Copyright: 2021-2024 Infineon Technologies AG
5+
License: CC-BY-NC-ND-4.0
6+
7+
Files: README.md CHANGELOG.md INSTALL.md tests/README.md src/optigatrust/DESCRIPTION.md
8+
Copyright: 2021-2024 Infineon Technologies AG
9+
License: CC0-1.0
10+
11+
Files: extras/optiga-trust-m/README.md
12+
Copyright: 2021-2024 Infineon Technologies AG
13+
License: CC0-1.0
14+
15+
Files: tests/fixtures/*.pem tests/fixtures/*.crt tests/fixtures/*.key src/optigatrust/lib/*
16+
Copyright: 2021-2024 Infineon Technologies AG
17+
License: CC-BY-NC-ND-4.0
18+

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## 1.4.0 (2024-08-08)
9+
10+
### Added
11+
- [Reuse](https://reuse.software/) compliancy
12+
- [Download script](extras/optiga-trust-m/download_libusb_windows.bat) for the download of LibUSB library and header for Windows
13+
14+
### Changed
15+
- Moved to optiga-trust-m host library v5.x.x
16+
- Migrated Visual Studio project for host library build to Visual Studio 2022
17+
- Folder structure adapted to best practices (Pitchfork layout)
18+
- Improved documentation
19+
- Improved code formatting both for C and Python
20+
21+
### Fixed
22+
- Cleaned up logging output

INSTALL.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Installing the optigatrust Pyhon module from source
2+
3+
## Dependencies
4+
5+
The `optigatrust` Python module depends on the modules in [requirements.txt](requirements.txt). For testing, the additional dependencies in [tests/requirements.txt](tests/requirements.txt) have to be installed.
6+
7+
```bash
8+
python -m pip install -r ./requirements.txt
9+
python -m pip install -r ./tests/requirements.txt
10+
```
11+
12+
### Install the Python module from sources
13+
14+
To install this Python module from sources, run the following command.
15+
16+
```bash
17+
python -m pip install .
18+
```

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2018 Infineon Technologies AG
3+
Copyright (c) 2018-2024 Infineon Technologies AG
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)