KeyLengthCriterion not set in Decrypter
Basics
Technical
Logistics
Basics
Technical
Logistics
Description
Environment
None
Activity
Show:
Brent Putman March 23, 2019 at 12:21 AM
This was just a simple typo, flipped-boolean bug.
Fixed in:
master: 45680ce281fc0f4d46b1415f6cdb08dd07632723
maint-3.4: 7c654d329f919e6c262e250afc6d6cc743aae5ec
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created March 15, 2019 at 7:46 AM
Updated August 6, 2021 at 10:29 PM
Resolved March 23, 2019 at 12:21 AM
The method buildKeyLengthCriterion in org.opensaml.xmlsec.encryption.support.Decrypter has a bug that leaves the KeyLengthCriterion out from the criteria set being passed to the key encryption resolver ...
If the encryption method is set, null is returned. If it's not, we'll get an NPE.
if (!Strings.isNullOrEmpty(encAlgorithmURI)) {
return null;
{{}}}