KB Article #67788
ERROR - <XASN> Unexpected length while decoding value
-- SECS303E error messages similar to following are received on Gateway's log acting as server when attempting to authenticate an SFTP client using its DSA key.
20101004 092739 303 SECS E UEX XPH SERVER(131) - XphPublicParamGetWithKey : XPP error (104)
20101004 092739 303 SECS E UEX XPP report ( xpkiAdmPublicKeySearch )
20101004 092739 303 SECS E UEX <XASN> Error while decoding algorithmId of type AlgorithmIdentifier
20101004 092739 303 SECS E UEX <XASN> Unexpected length while decoding value
Resolution
# This error occurs when Passport does not allow the kind of encyrption algorithm that Gateway wants to use. Gateway 6.12.2 does not support FIPS integration with Passport & hence when used with Passport enabled with FIPS keys the described error messages are thrown. To resolve the issue, use alternative keys for Passport that are not FIPS enabled.