Open alextreme opened 1 year ago
See also #2301 and #2785
Adding prio medium since we need to properly design the encryption/hashing of PII so they can still be queried.
Current thoughts is to toggle between two modes: encrypted data (for things that are non-finalized) and hashing (for finalized) submissions.
Constraints for encryption
.env
...) keeps track of key ID (unique) and private key to use. This requires a management command to be able to rotate keys when new keys are deployed (decrypt with old key, re-encrypt with new key)AuthAttribute.objects.filter(value__in=[encrypted_permutations])
query. If multiple BSNs need to be queried at the same time, this requires a python level check too which checks against the decrypted database value (see first bullet).attribut_hashed
boolean field value.Resources:
This is blocked by #2301 - but there is no planning or prio for this at the moment.
Thema / Theme
API
Omschrijving / Description
Dimpact / @robwagelaar has requested a functionality to show in OIP which not-yet-completed forms a user can continue with, as an expansion of the MijnAanvragen/MijnZaken module.
In cooperation with Joeri I wrote up the following API spec, this to allow external systems to make use of the OpenFormulieren or eSuite API to determine which forms a (with DigiD logged-in) user can continue with:
https://redocly.github.io/redoc/?url=https://gist.githubusercontent.com/alextreme/61dbd2605ea7f714744d6a36f786dd8e/raw/209538fb28617c0ae3d9ab2a9046d9876260e0e1/FormulierenAPI&nocors
https://taiga.maykinmedia.nl/project/open-inwoner/us/975?milestone=445
Atos has developed a proof-of-concept API and an initial integration is being worked on in OIP. I'd like to request the same API to become available from Open Formulieren.
Added value / Toegevoegde waarde
Het tonen van de openstaande formulieren waar de inwoner met Open Formulieren is gestart in de Mijn-omgeving
Aanvullende opmerkingen / Additional context
Eerste OF PoC mag ontwikkeld worden door @Bartvaderkin , na Joeri's vakantie kunnen we de integratie verder bespreken.