Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not include age_over_{current_age_in_years} #47

Open
TimoGlastra opened this issue Jan 29, 2025 · 1 comment
Open

Do not include age_over_{current_age_in_years} #47

TimoGlastra opened this issue Jan 29, 2025 · 1 comment
Assignees

Comments

@TimoGlastra
Copy link
Member

Potential privacy issue.

addAttribute(`age_over_${Math.floor(ageInYears)}`, true)

@TimoGlastra
Copy link
Member Author

Should also handle age_over_NN calculation based on validFrom

// TODO:
//
// This should be calculated from the `validFrom` field in device retrieval
// and the `iat` from server retrieval. Not `Date.now()`
//
// In case of device retrieval, the value of an age_over_NN data element
// shall be calculated by the issuing authority infrastructure to be valid
// at the value of the timestamp in the validFrom element in the MSO
// from 9.1.2.4. In case of server retrieval, the value of an age_over_NN
// data element shall be valid at the value of the iat timestamp as
// defined in 8.3.2.2.2.2 and 8.3.3.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants