f9fccd5502
implemented product_mapping support
2025-04-14 20:29:50 +02:00
70cac5bbf3
test "X-NLS-Signature" upper/lowercase
2025-04-14 20:29:50 +02:00
fbb73c73ab
changed "feature_name"
2025-04-14 20:29:50 +02:00
94a7772c7b
updated attributes to match nvidia-nls response order
2025-04-14 20:29:50 +02:00
54d38953bf
x-nls-signature
2025-04-14 20:29:50 +02:00
3871dfe6a6
test "x-nls-signature"
2025-04-14 20:29:50 +02:00
d7c29f834c
test with "X-NLS-Signature"
2025-04-14 20:29:50 +02:00
685e1ce0bb
implemented client_challenge on lease apis
2025-04-14 20:29:50 +02:00
d8cddd4b29
set "offline_lease" to false
2025-04-14 20:29:50 +02:00
60f7e40ca4
added EMPTY (!!!) X-NLS-Signature response header
2025-04-14 20:29:50 +02:00
672ddb16c7
added debug headers
2025-04-14 20:29:50 +02:00
beebf9e812
code styling
2025-04-14 20:29:50 +02:00
743c702921
added new "protocol_version" to client-token
2025-04-14 20:29:50 +02:00
601d733add
fixes
2025-04-14 20:29:50 +02:00
2ffee4aee1
also debug response
2025-04-14 20:29:50 +02:00
5eb0c55f3f
fixed datetime format
2025-04-14 20:29:50 +02:00
c7e8414934
added missing lessor attributes
2025-04-14 20:29:50 +02:00
30ef56f956
fixes
2025-04-14 20:29:50 +02:00
1908b44bed
added debugging
2025-04-14 20:29:50 +02:00
0982106b4f
updated new responses for 18.x drivers
2025-04-14 20:29:50 +02:00
c15cdee610
created "init_config_token_demo"
2025-04-14 20:29:50 +02:00
7ce79ec95b
added test and code for /leasing/v1/config-token
...
ref. https://git.collinwebdesigns.de/nvidia/nls/-/blob/main/src/test/test_config_token.py
2025-04-14 20:29:50 +02:00
88fbd08610
implemented initial endpoint for /leasing/v1/config-token
2025-04-14 20:29:50 +02:00
d71b66d192
added debugging
2025-04-14 20:29:50 +02:00
61c9e47237
added endpoint '/leasing/v1/config-token'
2025-04-14 20:29:50 +02:00
85623d1a65
code styling
2025-03-18 14:47:33 +01:00
fd46eecfb3
created PrivateKey / PublicKey wrapper classes
2025-03-18 09:43:44 +01:00
0bdd3a6ac2
migrated from "pycryptodome" to "cryptography"
2025-03-17 14:05:26 +01:00
3f5fcbebb3
fixed logging
2025-03-11 22:04:35 +01:00
e5fc607638
added explicit "algorithms" argument
...
applied patch from https://github.com/mrzenc/fastapi-dls-nixos/blob/main/add-algorithms-argument.patch from https://github.com/mrzenc/fastapi-dls-nixos
2024-12-13 07:18:14 +01:00
03b9b4a598
moved from deprecated "datetime.utcnow()" to "datetime.now(UTC)"
2024-12-02 09:42:41 +01:00
ea8a66d449
removed "PatchMalformedJsonMiddleware" because its not working on driver site
...
ref. oscar.krause/fastapi-dls#1
2024-12-02 08:37:01 +01:00
15f14cac11
implemented "SUPPORT_MALFORMED_JSON" variable
2024-11-21 08:51:39 +01:00
0dc8f6c582
refactorings
2024-07-11 05:49:13 +02:00
c79455b84d
added way to include driver version in api
...
use `create_driver_matrix_json.py` to generate file in `static/driver_matrix.json`. Logging currently is disabled to not confuse users when file is missing. This is optional!
2024-06-21 19:01:33 +02:00
35fc5ea6b0
set log format
2024-06-21 18:59:23 +02:00
c9ac915055
code styling & comments
2024-06-13 20:34:45 +02:00
8c5850beda
migrated from deprecated "startup" to "lifespan" hook (fastapi)
2024-06-13 20:34:27 +02:00
0d9e814d0d
show if debug is enabled on app startup
2024-06-13 20:18:33 +02:00
5438317fb7
rearranged imports
2024-06-13 20:18:18 +02:00
21f19be8ab
code styling & improved logging
2024-06-13 20:16:51 +02:00
6473655e57
import fixes
2024-06-13 19:24:46 +02:00
7e5f8b6c8a
implemented endpoint to remove expired leases
2023-06-12 10:48:00 +02:00
e42dc6aa86
code styling
2023-03-20 10:06:21 +01:00
02276d5440
disabled openapi endpoints
2023-01-23 07:33:54 +01:00
95427d430e
added startup script
2023-01-19 07:26:22 +01:00
c3ea0aa48c
added variable for client-token-expire-delta
2023-01-19 07:26:07 +01:00
48c37987b2
fixed logging and added current timezone info
2023-01-18 14:23:25 +01:00
3c19fc9d5b
implemented "lease_renewal" attribute as calculated value within what period of time the license must be renewed
2023-01-17 11:49:56 +01:00
a758d93970
main.py - fixed empty lease origin response
2023-01-17 11:18:07 +01:00