-
-
Notifications
You must be signed in to change notification settings - Fork 276
Key IDs have the http
scheme
#3567
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
Comments
This will happen when using a reverse-proxy if at the time the user account was created, Lines 83 to 85 in 0cc5106
That determines the Lines 357 to 368 in 0cc5106
And finally with transaction.atomic():
# populate fields for local users
self.remote_id = f"{BASE_URL}/user/{self.localname}" If you have HTTP => HTTPS forwarding, this isn't such a big deal and webfinger should return the correct value, but it's obviously not ideal. @ilkka-ollakka @mouse-reeve I noticed this when I was reviewing #3543 and wondered if we should change the default value of |
I think it is good idea to change |
Describe the bug
Identifiers of public keys have the
http
scheme.To Reproduce
Example of a
Person
actor: https://books.infosec.exchange/user/ajn142Its
publicKey.id
is http://books.infosec.exchange/user/ajn142/#main-keyExpected behavior
When an actor has an
https
ID, I expect the attached key to have anhttps
ID too.The text was updated successfully, but these errors were encountered: