- 29 Sep, 2023 2 commits
-
-
antoine_galataud authored
-
antoine_galataud authored
-
- 18 Sep, 2023 2 commits
- 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 9 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.
-