codelab / flaskphp-identity-mobileid
MobileID identity provider for FlaskPHP
Package info
bitbucket.org/codelab-solutions/flaskphp-identity-mobileid
Type:package
pkg:composer/codelab/flaskphp-identity-mobileid
v1.0.48
2026-01-15 11:02 UTC
Requires
- php: >=7.0
- codelab/flaskphp: >=1.0
- codelab/flaskphp-digidoc: >=1.0
- kullar84/hashcode-lib: >=1.0
- sk-id-solutions/mobile-id-php-client: >=1.1
This package is auto-updated.
Last update: 2026-05-15 11:38:58 UTC
README
Certificates and SSL pinning
Add or update certificates
- Download the new certificate file (
.cer,.crt, or.pem) from the issuer. - Place it in
java/resources/cert(production) orjava/resources/cert-test(demo/test). - Update
java/Makefilewith a newkeytool -alias ... -import -file ./resources/cert/<file>line undercert(orcert-testfor test certs) and keep the expiry comment current. - Run
make -C java cert(ormake -C java cert-testfor demo/test) to rebuild the truststore (java/resources/truststore.jksorjava/resources/truststore-test.jks).
Update SSL public key pins
- If the Mobile ID server certificate changes or you add a new mid.sk.ee cert, regenerate pins with
make -C java ssl-pinsfor production ormake -C java ssl-pinning-testfor demo. - Copy the generated
sha256//...string intowithSslPinnedPublicKeys(...)inclass/AuthenticateRest.phpfor the matching environment.