Skip to content

Sign preferences with id #139

@OlivierChirouze

Description

@OlivierChirouze

The current design enforces that preferences are signed with the PAF id.

The rationale is to avoid a fraudulent actor taking a valid (signed) preferences object and attempting to reuse it for a user that did not set their preferences, or did set a different preferences value.
Or, more problematic, would take the preferences object and use it for all website visitors.

When signing preferences with ids, we ensure the value of the preference was set for a particular user.

This comes with some constraints:

I think the advantages outweigh the drawbacks but the question has been raised in implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions