Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Update log.py #340

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ L'immagine `italia/spid-testenv2` a anche disponibile su [Docker Hub](https://hu

Su macOS si può usare `brew install libxmlsec1 libffi`.

Su Debian/Ubuntu si può usare `apt-get install libxmlsec1 libffi6`.
Su Debian/Ubuntu si può usare `apt-get install libxmlsec1 libffi7`.

1. Creare ed attivare un virtualenv

Expand Down
2 changes: 1 addition & 1 deletion testenv/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def _ensure_matching_certificate(self):
def _verify_signature(self):
try:
self._verifier.verify(
self._request.saml_request, x509_cert=self._cert)
self._request.saml_request, x509_cert=self._cert, ignore_ambiguous_key_info=True)
except InvalidDigest:
self._fail('Il valore del digest non è valido.')
except InvalidSignature_:
Expand Down
2 changes: 1 addition & 1 deletion testenv/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
logging.basicConfig(level=logging.DEBUG)

handler = RotatingFileHandler(
'spid.log', maxBytes=500000, backupCount=1
'/tmp/spid.log', maxBytes=500000, backupCount=1
)
handler.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(module)s - %(message)s')
Expand Down