Yoti

Latest version: v2.14.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.14.1

Security
- Update to `pytz==2022.1`

Changed
- Set `protobuf==3.13.0` in setup.py

Removed
- Support for Python 2.7

2.14.0

Added
- Supplementary document support (Doc Scan)
- `DynamicPolicyBuilder().with_document_images()`
- `accept_self_asserted` option can now be passed to `DynamicPolicyBuilder` methods

Fixed
- `DocScanClient.get_media_content()` will now return `None` for `204` no content responses (Doc Scan)

2.13.0

Doc Scan
Added
- Support for ID document comparison checks
- Ability to block the collection of biometric consent
- Allow the configuration of the `manual_check` value for requested Document Authenticity checks
- Add support for chip data
- `RequestedTextExtractionTaskBuilder().with_chip_data_desired()`
- `RequestedTextExtractionTaskBuilder().with_chip_data_ignore()`
- `IdDocumentResourceResponse` property: `document_id_photo`
- Add support for document page frames

Fixed
- `RequestedDocumentAuthenticityCheckBuilder.build()` is no longer static. Python 2 implementations must change this to `RequestedDocumentAuthenticityCheckBuilder().build()`

2.12.2

Fixed
Set `pytest` version to >=4.6.0 to prevent clashes with upstream dependencies requiring `pytest >= 4.6.0`

2.12.1

Fixed
- Update Attribute Issuance Expiry Date format to be milliseconds, not microseconds

2.12.0

Added

- `yoti_python_sdk.doc_scan`
- `session.create.filter` - Contains builders and objects used for specifying required documents during session creation (see snippets below)
- `DocScanClient`
- `get_supported_documents()` - retrieve all currently supported documents


Creating a required document


document_restriction = (DocumentRestrictionBuilder()
.with_document_types(["PASSPORT", "DRIVING_LICENCE"])
.with_country_codes(["GBR"])
.build())

document_filter = (DocumentRestrictionsFilterBuilder()
.for_whitelist()
.with_document_restriction(document_restriction)
.build())

required_id_document = (RequiredIdDocumentBuilder()
.with_filter(document_filter)
.build())

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.