You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the same xmlsec.Key.from_file code to load a p12 key works for python-xmlsec==1.3.14 and xmlsec==1.3.6 (using Alpine linux 3.20), but it does not work for python-xmlsec==1.3.15 and xmlsec==1.3.7 (using Alpine linux 3.21).
Getting a Error: (1, 'cannot read key') error message.
Not sure how to determine if this is an issue with python-xmlsec or xmlsec itself, but happy to help if pointed in the right direction.
Activity
andres-holvi commentedon May 5, 2025
I can confirm this error is happening.
Using the same
xmlsec.Key.from_filecode to load a p12 key works forpython-xmlsec==1.3.14andxmlsec==1.3.6 (using Alpine linux 3.20), but it does not work forpython-xmlsec==1.3.15andxmlsec==1.3.7 (using Alpine linux 3.21).Getting a
Error: (1, 'cannot read key')error message.Not sure how to determine if this is an issue with
python-xmlsecorxmlsecitself, but happy to help if pointed in the right direction.Edit: xmlsec error seems to come from this line