Project

General

Profile

0001-misc-sign-logout-message-when-using-PRIVATE_KEYS-ins.patch

Benjamin Dauvergne, 24 Apr 2020 01:22 PM

Download (854 Bytes)

View differences:

Subject: [PATCH 1/7] misc: sign logout message when using PRIVATE_KEYS instead
 of PRIVATE_KEY (#41949)

 mellon/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mellon/utils.py
223 223
    })
224 224
    logger.debug('session_dump %s', session_dump)
225 225
    logout = lasso.Logout(server)
226
    if not app_settings.PRIVATE_KEY:
226
    if not app_settings.PRIVATE_KEY and not app_settings.PRIVATE_KEYS:
227 227
        logout.setSignatureHint(lasso.PROFILE_SIGNATURE_HINT_FORBID)
228 228
    logout.setSessionFromDump(session_dump)
229 229
    return logout
230
-