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

POST /_matrix/identity/v2/store-invite returns v1 key validity APIs #534

Open
richvdh opened this issue Nov 25, 2022 · 2 comments
Open

POST /_matrix/identity/v2/store-invite returns v1 key validity APIs #534

richvdh opened this issue Nov 25, 2022 · 2 comments

Comments

@richvdh
Copy link
Member

richvdh commented Nov 25, 2022

Sydent's handler for POST /_matrix/identity/v2/store-invite returns:

{
    "token": "token",
    "public_key": "sydentPubKeyBase64",
    "public_keys": [
        {
            "public_key": "sydentPubKeyBase64",
            "key_validity_url":  "https://<server>/_matrix/identity/api/v1/pubkey/isvalid"
        },
        {
            "public_key": "ephemeralPublicKeyBase64",
            "key_validity_url": "https://<server>/_matrix/identity/api/v1/pubkey/ephemeral/isvalid",
        }
    ],
    "display_name": "<redacted email>"
}

As this shows, the key_validity_urls are under the now-defunct /api/v1 path. Arguably, this doesn't matter, because:

@richvdh
Copy link
Member Author

richvdh commented Nov 25, 2022

@richvdh
Copy link
Member Author

richvdh commented Apr 5, 2023

Related: matrix-org/matrix-spec#495, #338

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

No branches or pull requests

2 participants