| Age | Commit message (Collapse) | Author |
|
Signature server list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGWNgzNpR5Q/USM3JerSdCzQRLpRGakjA8Sy4xJN34wodUJvnwzBlj6gWB7q7MU7IPmFlaLGufP7S1eGOKcJBdgw=
trusted comment: timestamp:1773831174 file:server_list.json
Cxbsrsn39pW5Bz+otdqdNqNq2SIeAavp3OKayG54lqWkdPUSKyGJzgi/VJNEk0pFQmDOu4rSOs5jXr5Sa3B9CQ==
Signature organization list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGfuEtnF6Hzxem65AhPubUX1BmRsMuQk9vbzL0LqXfXd7aj/UQl8HDsfha1ZqZZ+cghlGNWl9jBD79LuoJDbbWQ0=
trusted comment: timestamp:1773831174 file:organization_list.json
QCs2Npu9Nrz8JE5U6n2ir7TPszFKdECAX7WtjQL+7kK9eWKotKa3iVfmtGRW0wwUTBmnYkEbOiyOjIM0AL8zBA==
|
|
Signature server list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGX3pGt5IGZ/lesynbXSEv/E9RikpowS88mYS47LlFVSbTQMGoIZzfXmGGMVfyIh2rFEhazow9WZKF1xO/B5M2ww=
trusted comment: timestamp:1773222928 file:server_list.json
IUqjePL/d6mUJqev9AUcsxvR1JCedtfJZ8my2WFeWle9Ejs2xKx0QS47f0JVFc0h/3L26HkmYbJnERXELhRFDg==
Signature organization list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGe9DbF6ZT8KE8i3Agq1Q7kcltwK5X67gYumx37bjXN8jz6ZqthDqL0DPQQ2NhBXTosOM0BBKYhngurboZwtCjgU=
trusted comment: timestamp:1773222928 file:organization_list.json
VJyFg/ezY/i/DyaiKCiTepYKVyCbPRqbmORDMio4LIs+V2e7T6gtTOE3T3zkDAMZgRA6ffI8S5DkemtbDautCA==
|
|
As we now have the discovery JSON files in the repo, it makes no sense
to conditionally embed the files. Just always embed them
|
|
Signature server list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGcM/XVH6xURdB/P5wcCa1nWK0/ds+QKdM28TFnR8Jf/CZubFFMZmyFHeHni5f5vCWCVFbRWaT1/Lr7unQKY2XgU=
trusted comment: timestamp:1771513843 file:server_list.json
y4cOVReY66c+Sl+KB+8OJowXaJliNWftSXRWMPs+YNRL1cG6EiIxHrGh0P6vzbffr/vRrSjiJbsjHEnYwpjyDQ==
Signature organization list:
untrusted comment: signature from minisign secret key
RWRtBSX1alxyGTBDzWUBVfUG9omWlahGssShEXfQQ93MKfQVo9JUjUdG62UM4OpnTf7a4jAdmIbJFn4ifDkNrbXqggXS4XqB1AU=
trusted comment: timestamp:1771513843 file:organization_list.json
zHUVpPb8k7xQ08d6aMmKb+FWG8maU0ak6YltG0reoUCYZhEU+SVgHW6+w19cA6jXRLy8bkbz6VwBOcZApc0SAA==
|
|
|
|
Fixes: #112
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As setting organizations expired is now done in register
|
|
With a manager that locks and copies such that no race conditions happen
|
|
From docs.eduvpn.org (https://docs.eduvpn.org/server/v3/server-discovery.html):
When fetching the new JSON files, the client SHOULD use conditional requests, so the file is only fetched in case there were changes. This, in order to reduce the amount of traffic required by VPN clients, especially relevant for metered, or slow connections.
The If-Modified-Since request header SHOULD be used for this. If the response code is 304, the file hasn’t changed since. The value to use for the If-Modified-Since request header is the exact value of the Last-Modified response header for the last successful download, i.e. 200 response. You SHOULD store the value of Last-Modified and use it as-is for the If-Modified-Since header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This patch implements search by adding a second argument to
DiscoOrganizations and DiscoServers. A search string of = "" returns
everything. This also makes the subset that is returned to the client
even fewer, no keywords.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
They are not part of the Git repository and are downloaded in the build
process.
Signed-off-by: Simon Rozman <simon@rozman.si>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conditionally embedding based on
https://github.com/golang/go/issues/44484#issuecomment-948137497
To use it, wget the discovery files into the internal/discovery
folder (same JSON name) after verifying the signature. Then build with -tags=release
|
|
|
|
|
|
We rewrite URLs anyway so this is still fine but let's not make it so confusing
|
|
|
|
|