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

Signing key disrepancy (between #main-key and none) #113

Open
ShadowJonathan opened this issue Feb 9, 2025 · 0 comments
Open

Signing key disrepancy (between #main-key and none) #113

ShadowJonathan opened this issue Feb 9, 2025 · 0 comments

Comments

@ShadowJonathan
Copy link

We discovered this on akkoma; it seems that gup.pe isnt sending the #main-key attachment when sending requests to servers;


[09/Feb/2025:13:15:59 +0100] (0.675/0.000+0.674 s) - "GET /users/jo HTTP/1.1" 500 (45 B) {application/json; charset=utf-8} "-" "Guppe Groups/1.5.2 (+http://a.gup.pe)" {-%-} cc:"max-age=0, private, must-revalidate" => 192.168.178.251 (keyId=https://a.gup.pe/u/system_service)
[09/Feb/2025:13:16:28 +0100] (0.004/0.000+0.003 s) - "GET /users/jo HTTP/1.1" 500 (45 B) {application/json; charset=utf-8} "-" "Guppe Groups/1.5.2 (+http://a.gup.pe)" {-%-} cc:"max-age=0, private, must-revalidate" => 192.168.178.251 (keyId=https://a.gup.pe/u/system_service)
[09/Feb/2025:13:17:44 +0100] (0.003/0.000+0.003 s) - "GET /users/jo HTTP/1.1" 500 (45 B) {application/json; charset=utf-8} "-" "Guppe Groups/1.5.2 (+http://a.gup.pe)" {-%-} cc:"max-age=0, private, must-revalidate" => 192.168.178.251 (keyId=https://a.gup.pe/u/system_service)
[09/Feb/2025:13:19:38 +0100] (0.003/0.000+0.002 s) - "GET /users/jo HTTP/1.1" 500 (45 B) {application/json; charset=utf-8} "-" "Guppe Groups/1.5.2 (+http://a.gup.pe)" {-%-} cc:"max-age=0, private, must-revalidate" => 192.168.178.251 (keyId=https://a.gup.pe/u/system_service)

However, when fetching keys from the gup.pe server itself, it does include #main-key; https://a.gup.pe/u/system_service#main-key

This causes problems with servers which expect a 1:1 association, while this effectively returns a different signing key when fetching the original account, and the likes.

https://akkoma.dev/AkkomaGang/akkoma/issues/858

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

1 participant