- 15 Sep, 2023 3 commits
-
-
Olivier authored
-
Olivier authored
-
Sigmund Augdal authored
-
- 14 Sep, 2023 2 commits
-
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
- 13 Sep, 2023 2 commits
-
-
Roman Yurchak authored
* Make possible to not strip credentials in Client.server_url * Make server_url a property * Lint * Update docstrings * Remove init parameter
-
Yuta Okamoto authored
-
- 11 Sep, 2023 1 commit
-
-
Yuta Okamoto authored
* Add type hints to the Node methods * remove a duplicated import * make `server` accept as Client
-
- 10 Sep, 2023 2 commits
-
-
bitkeeper authored
With the hook you can register callback method with the following type `CertificateValidatorMethod`: ``` Callable[[x509.Certificate, ApplicationDescription], Awaitable[None]] ``` The method should raise an `ServiceError` exception when the certificate is invalid. The makes it possible to provide your own logic for validation. An default implementation of such certificate validation hook is also provided by `ucrypto.validator.CertificateValidator`. `CertificateValidator` supports checking: - Uri - Timerange - Key Usage - Extended Key Usage - Trust - Revoked For the last two checks a instance of a `TrustStore` needs to be provided to `CertificateValidator`. Which checks must be performed can be configured with `CertificateValidatorOptions`. Those are provide to the constructor of `CertificateValidator` and can be changed later with `CertificateValidator.set_validate_options`. Examples of client and server with encryption are changed to demonstrate the use of the validator. Basic testing of the validator is present.
-
Yuta Okamoto authored
-
- 07 Sep, 2023 2 commits
-
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
- 01 Sep, 2023 2 commits
-
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
- 24 Aug, 2023 9 commits
-
-
Olivier authored
-
Yuta Okamoto authored
* add browse_nodes to SyncClient * fix ruff E721 warning
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
- 22 Aug, 2023 1 commit
-
-
bitkeeper authored
In validates against trusted certificate, trusted ca certificates and certificate revocation lists.
-
- 14 Aug, 2023 2 commits
-
-
Yuta Okamoto authored
-
Yuta Okamoto authored
-
- 13 Aug, 2023 1 commit
-
-
Danny Milosavljevic authored
-
- 09 Aug, 2023 11 commits
-
-
Sandor authored
I think types_aiofiles was a typo. I can only install types-aiofiles module.
-
Sandor authored
"The 'warn' method is deprecated, use 'warning' instead"
-
Alexis Metge authored
-
Alexis Metge authored
-
Alexis Metge authored
-
bitkeeper authored
With PR #1368 some functions are added to create and request certificates. Based on those functions a new helper method `setup_self_signed_certificate` is created. This should make it easy to add basic support to clients and servers for generating automatically certificates. If can generated a private key and self-signed certificate when not already present. When the data range of the certificate is no longer valid it generates a new certificate. Both the examples for client and server use with encryption are updated to demonstrate the use.
-
Alexander Schrode authored
-
Alexander Schrode authored
-
Sandor authored
"Coroutine 'set_security_string' is not awaited" it is an async function.
-
Yuta Okamoto authored
-
Alexis Metge authored
Those issues were not detected previously since they are linked to the recent update of ruff to version 0.0.283, which fixed an issue in the detection of this lint error.
-
- 04 Aug, 2023 2 commits
-
-
Johannes Löhnert authored
* When reading Enumeration and OptionSet type definitions, also accept StructureDefinition instance. This kind of type definition is "unclean" but not strictly forbidden by the standard. Requires guessing of actual enum values: - Count starting at 1 for Enums - 0x1, 0x2, 0x4, ... for OptionSet * add test for OptionSet defined via StructureDefinition
-
Johannes Löhnert authored
* load_enums: On unexpected errors, skip entry with error message * fix test if not run in isolation
-