# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from webob.cookies import SignedSerializer

from ..security import derive_key


def includeme(config):
    config.include(".reply")

    secret = config.registry.settings["secret_key"]
    salt = config.registry.settings["secret_salt"]
    derived = derive_key(secret, salt, b"h.notification")

    config.registry.notification_serializer = SignedSerializer(derived, None)

3fe08bb98e797ac624b3b1a07aedb33d9feb99f0
<mask token>

<mask token>


def includeme(config):
    config.include('.reply')
    secret = config.registry.settings['secret_key']
    salt = config.registry.settings['secret_salt']
    derived = derive_key(secret, salt, b'h.notification')
    config.registry.notification_serializer = SignedSerializer(derived, None)

from __future__ import unicode_literals
from webob.cookies import SignedSerializer
from ..security import derive_key


def includeme(config):
    config.include('.reply')
    secret = config.registry.settings['secret_key']
    salt = config.registry.settings['secret_salt']
    derived = derive_key(secret, salt, b'h.notification')
    config.registry.notification_serializer = SignedSerializer(derived, None)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from webob.cookies import SignedSerializer

from ..security import derive_key


def includeme(config):
    config.include(".reply")

    secret = config.registry.settings["secret_key"]
    salt = config.registry.settings["secret_salt"]
    derived = derive_key(secret, salt, b"h.notification")

    config.registry.notification_serializer = SignedSerializer(derived, None)
