Skip to content

Releases: thorgate/django-esteid

Version 4.0

21 Nov 14:42
Compare
Choose a tag to compare

Welcome web-eid

The authentication and signing mechanisms for ID-card now use the modern web-eid platform. This release adds support for signing from the previous 3.4 beta release that allowed for authentication using web-eid and ID-Card.

Changes (from 3.3):

  • esteid-helper bundled under esteid-new and esteid-test static folders has been removed. Please use the new esteid-helper directory instead (or install esteid-helper via npm).

    • The files to include are now:
      • <static_dir>/esteid-helper/web-eid.js
      • <static_dir>/esteid-helper/Esteid.main.web.js
      • <static_dir>/esteid-helper/Esteid.main.min.js
      • Note: When interfacing with the legacy actions api use LegacyIdentificationManager instead of IdentificationManager
  • Changed: IdentificationManager.getError now expects the entire error object as its argument instead of only the error message value. See changes in esteid/templates/esteid/test-new.html and esteid/templates/esteid/test.html for an example on how to update your code.

  • Changed: Django imports now work in a backwards compatible manner to allow usage with old django (on your own risk).

  • Changed: Update sign buttons with new esteid branding

  • Changed: Due to the changes in the underlying infrastrucuture the certificate and signature values sent to server during id-card signing are now base64 encoded instead of hex encoded. This should not affect the users of the library unless you are interfacing with the values directly in your own code.

Removed:

  • Proxy based id card authentication helpers have been removed from the codebase (iframe stuff, nginx test setup, middlewares etc)

Version 3.4 beta 1

02 Jun 10:33
Compare
Choose a tag to compare
Version 3.4 beta 1 Pre-release
Pre-release

This is the first testing release using the new web-eid platform. The release currently supports signing documents using the new web-eid extension. Changes to the codebase have been implemented in both the modern signers pattern and also in the legacy actions pattern of using django-esteid.

Note: The support for authentication with idcard shall be implemented in a separate release soon.

Changes:

  • esteid-helper bundled under esteid-new and esteid-test static folders has been removed. Please use the new esteid-helper directory instead (or install esteid-helper via npm).

    • The files to include are now:
      • <static_dir>/esteid-helper/web-eid.js
      • <static_dir>/esteid-helper/Esteid.main.web.js
      • <static_dir>/esteid-helper/Esteid.main.min.js
      • Note: When interfacing with the legacy actions api use LegacyIdentificationManager instead of IdentificationManager
  • Changed: IdentificationManager.getError now expects the entire error object as its argument instead of only the error message value. See changes in esteid/templates/esteid/test-new.html and esteid/templates/esteid/test.html for an example on how to update your code.

  • Changed: Django imports now work in a backwards compatible manner to allow usage with old django (on your own risk).

  • Changed: Due to the changes in the underlying infrastrucuture the certificate and signature values sent to server during id-card signing are now base64 encoded instead of hex encoded. This should not affect the users of the library unless you are interfacing with the values directly in your own code.

Version 3.3

07 Mar 13:20
512c8cd
Compare
Choose a tag to compare
  • Add issuer_country and subject_country to Certificate class

  • Use re_path for urls

  • Replace all ugettext_lazy calls with gettext_lazy

  • Use force_str instead of the force_text which was removed in django 4.0

  • Update test matrix:

    • Remove python 3.6 and 3.7
    • Use latest poetry in CI
    • Add python 3.9 and 3.11
    • Add django 4.0 and 4.1
    • Remove django 2.0

Version 3.2rc1

15 Nov 14:12
Compare
Choose a tag to compare
Version 3.2rc1 Pre-release
Pre-release

With this release we now allow action.get_bdoc_container_file to return a file-like object too. This is mostly a compatibility fix for users of legacy implementations as it is part of the deprecated api. As a result it is easier to use the actions api with remote filesystem backends like S3.

Also:

  • Use Github actions instead of travis for CI
  • Update smartid test identity codes in unit tests
  • Add tests for open_container method
  • Use poetry for packaging and dependency management

Note: As the packaging tooling was updated we will create some release candidates before publishing the final release in PyPI.

Version 3.2

15 Nov 15:30
Compare
Choose a tag to compare

With this release we now allow action.get_bdoc_container_file to return a file-like object too. This is mostly a compatibility fix for users of legacy implementations as it is part of the deprecated api. As a result it is easier to use the actions api with remote filesystem backends like S3.

Also:

  • Use Github actions instead of travis for CI
  • Update smartid test identity codes in unit tests
  • Add tests for open_container method
  • Use poetry for packaging and dependency management

Authentication with ID card, Smart ID & Mobile ID

22 Feb 19:43
6cc1be9
Compare
Choose a tag to compare

(Note: this tag doesn't change anything but version, compared to 3.1, so copying the 3.1 description here)

Added Authentication with ID card, Smart ID & Mobile ID.

Also:

  • Added pylint.
  • Fixed a problem with errors not being handled properly in the SessionViewMixin.
  • Changed some EsteidError classes to inherit from InvalidParameters.
  • Added deprecation warnings and pragma: no cover to old deprecated modules.

Authentication with ID card, Smart ID & Mobile ID

22 Feb 17:01
a2a9609
Compare
Choose a tag to compare

Added Authentication with ID card, Smart ID & Mobile ID.

Also:

  • Added pylint.
  • Fixed a problem with errors not being handled properly in the SessionViewMixin.
  • Changed some EsteidError classes to inherit from InvalidParameters.
  • Added deprecation warnings and pragma: no cover to old deprecated modules.

Version 3.0

19 Nov 15:12
6847612
Compare
Choose a tag to compare

Due to shutdown of the DigidocService:

  • Switched to the MobileID REST API;
  • Using locally generated signatures for ID card;
  • Removed digidoc service support;
  • Introduced new signing API;
  • Moved ASiC-E container support and certificates into separate libraries.

Version 2.3.0

15 Oct 11:50
ce3a5a4
Compare
Choose a tag to compare

Implemented DDS-free ID card signing. Dropped support for Python < 3.6 and Django < 1.11. Updated libraries.

Version 2.1.1

07 Oct 14:10
Compare
Choose a tag to compare
  • Fix compatibility with attrs>=19.2.0