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

PAR Request Object claim 'state' format: special characters are allowed or not? #336

Closed
stedcl opened this issue Jun 25, 2024 · 1 comment · Fixed by #339
Closed

PAR Request Object claim 'state' format: special characters are allowed or not? #336

stedcl opened this issue Jun 25, 2024 · 1 comment · Fixed by #339
Assignees
Labels
issuance question Further information is requested
Milestone

Comments

@stedcl
Copy link

stedcl commented Jun 25, 2024

In the current version of the EUDI Wallet IT spec we found:

PAR Request Object claim 'state': Unique session identifier at the client side. This value will be returned to the client in the response, at the end of the authentication. It MUST be a random string composed by alphanumeric characters and with a minimum length of 32 digits.

This definition doesn't clarify if we can use special characters or not.

This specs:

define state as a VSCHAR, i.e. [^\x20-\x7E] --> from \x20 (space) to \x7E (~) .

It's possible to reference the right definition of the "alphanumeric characters" into the EUDI Wallet IT spec?

\x20: (spazio)
\x21: !
\x22: "
\x23: #
\x24: $
\x25: %
\x26: &
\x27: '
\x28: (
\x29: )
\x2A: *
\x2B: +
\x2C: ,
\x2D: -
\x2E: .
\x2F: /
\x30: 0
\x31: 1
\x32: 2
\x33: 3
\x34: 4
\x35: 5
\x36: 6
\x37: 7
\x38: 8
\x39: 9
\x3A: :
\x3B: ;
\x3C: <
\x3D: =
\x3E: >
\x3F: ?
\x40: @
\x41: A
\x42: B
\x43: C
\x44: D
\x45: E
\x46: F
\x47: G
\x48: H
\x49: I
\x4A: J
\x4B: K
\x4C: L
\x4D: M
\x4E: N
\x4F: O
\x50: P
\x51: Q
\x52: R
\x53: S
\x54: T
\x55: U
\x56: V
\x57: W
\x58: X
\x59: Y
\x5A: Z
\x5B: [
\x5C: \
\x5D: ]
\x5E: ^
\x5F: _
\x60: `
\x61: a
\x62: b
\x63: c
\x64: d
\x65: e
\x66: f
\x67: g
\x68: h
\x69: i
\x6A: j
\x6B: k
\x6C: l
\x6D: m
\x6E: n
\x6F: o
\x70: p
\x71: q
\x72: r
\x73: s
\x74: t
\x75: u
\x76: v
\x77: w
\x78: x
\x79: y
\x7A: z
\x7B: {
\x7C: |
\x7D: }
\x7E: ~
@pietroACN
Copy link

The specification looks clear from the last statement "..MUST be a random string composed by alphanumeric characters and with a minimum length of 32 digits"
If we see the NIST definition of Special Character, this is "Any non-alphanumeric character that can be rendered on a standard...", thus not alpha-numeric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issuance question Further information is requested
Projects
Development

Successfully merging a pull request may close this issue.

4 participants