Verification for apps hosted on Framagit

Dec 7, 2023
D

I own the Carburetor project which is hosted on Framagit.

Since the home page is https://tractor.frama.io/carburetor, the APPID is io.frama.tractor.carburetor.

When I try to verify the app on Flathub, it asks me to put the .well-known file in https://frama.io, while it should be https://tractor.frama.io.

D

Ain’t there any workarounds?

H

IMHO this is a bug. It should ask it at the top level of tractor.frama.io.

P
Replying to #3

It is a bug, indeed.

My guess is that _get_domain_name() in verification.py could use a good revamping, or another workaround:

D

I sent a pull request there to fix this temporarily, but it should let people to choose the base URL from their app id if there’s more than two dots in it.

R
Replying to #5

See Add domain name tests and allow subdomains by razzeee · Pull Request #2301 · flathub-infra/website · GitHub but there are additional security concerns, as I heard, that organizations like to misconfigure their dns.