[packagekit] Doing the GPG auth dance

Stefan Haas shaas at suse.de
Wed Apr 16 01:30:06 PDT 2008


Richard Hughes schrieb:
> On Mon, 2008-04-14 at 15:58 +0100, Richard Hughes wrote:
>   
>> Do you agree? [N/y] n
>> Did not agree to licence, task will fail
>> Error: no-license-agreement : licence not installed so cannot install
>> install-package runtime was 0.1 seconds
>>     
>
> Right, so now we can detect when a EULA prompt is recieved. No, to
> actually agree to the EULA and affect the backend, I think we have two
> options:
>
> 1) EulaAgreed() on packagekit which is stored locally, so that when the
> backed requests IsEulaAgreed it can return the status of the current
> eula_id. (note: locally == per-packagekitd instance, although I expect
> the session to store it in gconf).
>   

This sounds sane. Available status of an eula_id should be "accepted, 
declined, not_set".
BTW how should an eula_id look like?

> 2) Adding EulaAgreed as a backend method, so that the backend deals with
> storing the auth.
>
> I'm erring on the first one, but I would appreciate any comments.
>
> Richard.
>
>   

Regards,

Stefan

-- 
Stefan Haas <shaas at suse.de> SUSE Linux Products GmbH Research &
Development Maxfeldstr. 5 GF: Markus Rex, HRB 16746 (AG Nürnberg)
D-90409 Nürnberg




More information about the PackageKit mailing list