Projet

Général

Profil

Development #101

Do not check for proper loading of a public key in LassoProvider constructor

Ajouté par Benjamin Dauvergne il y a presque 14 ans. Mis à jour il y a presque 14 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
18 juin 2010
Echéance:
18 juin 2010
% réalisé:

90%

Temps estimé:
4:00 h
Patch proposed:
Planning:

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

The check was removed. But I also made straight the error code for missing keys or chain of cert when checking signatures:
- if a public keys or chain of cert was put, and we cannot load it, we return an error in the LASSO_DS_ERROR namepsace (like PUBLIC_KEY_LOADING_FAILED OR CHAING_OF_CERT_LOADING_FAILED).
- if there is no public key (and no chain of cert for XML signatures) we return LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY.

#2

Mis à jour par Clément Oudot il y a presque 14 ans

Benjamin Dauvergne a écrit:

The check was removed. But I also made straight the error code for missing keys or chain of cert when checking signatures:
- if a public keys or chain of cert was put, and we cannot load it, we return an error in the LASSO_DS_ERROR namepsace (like PUBLIC_KEY_LOADING_FAILED OR CHAING_OF_CERT_LOADING_FAILED).
- if there is no public key (and no chain of cert for XML signatures) we return LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY.

It is ok when loading provider into Lasso::Server object, but I still have the check when I load Lasso::Server from dump.

#3

Mis à jour par Benjamin Dauvergne il y a presque 14 ans

  • Statut changé de Nouveau à Fermé

Formats disponibles : Atom PDF