Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] Hide 'production ready' profiles but allow direct download

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [[cat-users]] Hide 'production ready' profiles but allow direct download


Chronological Thread 
  • From: Tomasz Wolniewicz <twoln AT umk.pl>
  • To: Robert Franklin <rcf34 AT cam.ac.uk>
  • Cc: "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: Re: [[cat-users]] Hide 'production ready' profiles but allow direct download
  • Date: Fri, 25 Jan 2019 16:01:15 +0100
  • Autocrypt: addr=twoln AT umk.pl; keydata= mQENBEvhYBEBCADIlSk8hnUtSfZ1hLbuqiUxTiBtm65lM6OlxjYnWEsH/boOsVS/WdFZebwK 53eg280UcX9VDjFjy5rimsknCvxabnxk13AF//t9mN9tq5MmIkIcRIpLrtqc8Q0s0E84cNzB bDMtRzAd7JUTmKyAnkKE9i2R9FJKzeR9TTeKtBdgXHtUKPHPGOdxUUv8UWKxsj9AYi2CgN98 jiWLx6lTIpaWegWxIyih7WUKSf43Bpi6wFxhfOxteLyQUpIlGg4CasTVGpFsha8KzlupXOLG Tl3hXtQFWvE0tl1GidvTyuQlOzsZ1vjTNEzI25VTkOIgP4IYcWSkP74p/a239ZcTOHhZABEB AAG0IFRvbWFzeiBXb2xuaWV3aWN6IDx0d29sbkB1bWsucGw+iQE4BBMBAgAiBQJL4WARAhsD BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRA8PEwxkb+lPgkeB/9NAGlmopLel6EEDFz2 ra3KLBx8kXT3G1K/YYyrjDwNjCkAmm0evzQx8g9vPX2OzvE6Ai2Xi9hPd2K/ShPFPcgJzzjr h9H1XYfBb2N/tRwN9tb4XO5i9Tsa4jP+SG8h2yQY57QOeFy16joDmIZiZrAEIGpqqSV24PrX FSo2d1E4dMswqDXlEYk9hwbdW9H4zOQrnDZeRlRx/RW/cmWTd8r5C12dKhlT/D/fBkL3eYT7 rnjHtS+ArnMUsxu2Z/q6bmxqRyv4Vn4pR0n699iLa0ol2hWeQJFaZyTA7JksW8zWu/Zasd9K Dw3jM59vs/SXVdG8pMexAzH5jmEEAgwYwUbVuQENBEvhYBEBCACgAz/z7VTnCsPSBUrjCLyS j+eRtr2tQzSU48Qa5hOcIxAKQJQNgOOqs0Mq9fT9lV+OttaYyKtijt1+G2dVMETVFkdZmM0c g8pVJp398993v89U/iwjfvNoqCM/9z312Poha/oL/EOk+gWYxZbyQ18SY69va2WHr6Pl3bzR 6BQpb86W85MreQ2lxd76b6BgjOXA/b39YyU/fMeFQd+wDpT3K1fUr89dYRnyzQIxTBSPOMLQ ShHKc/S8dStbNlLNcnaiyBOsH4A7b6IizQGqyVHBeL7u05X0/ZVdEIgsO3NmQouqY0/WjBdV qg4EsI1VvvgwXKWafP1MryLy4ZcnNjQZABEBAAGJAR8EGAECAAkFAkvhYBECGwwACgkQPDxM MZG/pT6lUQf8DC3i15okq3VycbpTYuH6f1lQkqanMS0z4z8F6xtCeXq0DBFk0ZzAU/mCwc3V PdUVGtRKGjouSAB1HDeTvAth1vY0oOJG3kXBwkcui3QxM3sxksNCRLLwcZVnsK9rt6UVp5aG qBwKf44BSApGyHNuKDhCfMCQHueqlfhJYfXocw6KDObvTkwygHLmw93ohV66v26yNvGo6+q2 qTDykGyuicACPDTyJTWFh2IwwZFAdzcc7St8aKkXFk0zWvoriWHeTLUnuFw7HN640IJkG74a 4NGco2yPc7Cz6q59rgE9xydOOXRdmnfiuJu0kQvQocD1rVLjW3qXdnxPd2/FhO4vWg==
  • Openpgp: preference=signencrypt

Hi,

 I missed one important element. This link does work but only if you are
authenticated as the IdP admin. If not, 404 is generated. We decided
that for closed profiles unauthenticated downloads should also be
closed, but I forgot about that detail. This restriction is reasonable
and I do not think that we would want to lift it, but perhaps we could
introduce a new category of semi-closed profiles.

Tomasz


W dniu 25.01.2019 o 15:51, Robert Franklin pisze:
> Hello,
>
> Thanks for your reply…
>
>
>> On 25 Jan 2019, at 11:55, Tomasz Wolniewicz <twoln AT umk.pl> wrote:
>>
>> First of all, when you say that the information for the user is
>> limited to the name of the profile - this is not quite true. Indeed on
>> the selection lit this is all that you see, but once you select profile
>> you can see additional information if the admin as provided it. See
>> https://cat.eduroam.org/?idp=1
> I hadn’t tried that but that would be an option - I’ll see what I can make
> it say…
>
>
>> Secondly, got that link to work you do not need to make profile
>> visible, however to get the correct link out of CAT, currently you need
>> to do some hacking, which should not be needed and we must correct that
>> in the future.
>>
>> When you define a profile, you get the button "Installer Fine-Tuning and
>> Download.
>>
>> From the resulting page you can download the installers and you can also
>> link to them by something like:
>>
>> https://cat.eduroam.org/user/API.php?action=downloadInstaller&profile=XXXX&device=DDDC&lang=en
>>
>> …
>>
>> This way you should be able to create local links without making the
>> profile visible.
> That doesn’t work for me: when the profile is NOT marked as ‘production
> ready’, I get a ‘404 Not found’, trying to download the profile; when I
> switch it to ‘production ready’, I can download it. For example:
>
> doraemon:~ rcf$ wget
> 'https://cat.eduroam.org/user/API.php?action=downloadInstaller&api_version=2&lang=en&device=w10&profile=5968’
>
> --2019-01-25 14:44:56--
> https://cat.eduroam.org/user/API.php?action=downloadInstaller&api_version=2&lang=en&device=w10&profile=5968
>
> Resolving cat.eduroam.org (cat.eduroam.org)... 145.100.191.84
> Connecting to cat.eduroam.org (cat.eduroam.org)|145.100.191.84|:443...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2019-01-25 14:44:56 ERROR 404: Not Found.
>
> … I’ve tried removing the ‘api_version=2’ bit and no difference.
>
>
>> Still you should remember that your users are likely tofind CAT by
>> themselves and should not be confused by that they see there. If you do
>> not want them to download directly form CAT then you could create
>> profile redirects (while still keeping direct links to CAT)
> I’ve done that, yes. However, I’d prefer to avoid them getting that far,
> if I can!
>
> - Bob
>
>
--
Tomasz Wolniewicz
twoln AT umk.pl http://www.home.umk.pl/~twoln

Uczelniane Centrum Informatyczne Information&Communication Technology Centre
Uniwersytet Mikolaja Kopernika Nicolaus Copernicus University,
pl. Rapackiego 1, Torun pl. Rapackiego 1, Torun, Poland
tel: +48-56-611-2750 tel kom.: +48-693-032-576


Attachment: smime.p7s
Description: Kryptograficzna sygnatura S/MIME




Archive powered by MHonArc 2.6.19.

Top of Page