gnome-software-pk automatically accepting (untrusted, eula, repair etc)?



Hi

I haven't traced this fully, but this code is confusing me:

1. GS seems to be using `pk_client_set_interactive(pk, FALSE)`
2. In this case, it appears that using pk_task will automatically call `pk_task_user_accepted(pk)`.

E.g. GS would automatically accept untrusted packages.

I don't understand why PK has a master API that says --force-untrusted --force-key --force-eula --force-repair --force-media-change (?!).  But that's what the code says, so why would GS ever want that?

Regards
Alan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]