Bug 270125

Summary: Import key not working
Product: [openSUSE] openSUSE 10.2 Reporter: Francis Giannaros <francis>
Component: YaST2Assignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 251044    

Description Francis Giannaros 2007-04-30 18:29:17 UTC
I'm wondering if it isn't possible to combine these two popups (uknown GPG Key, Import Untrusted GPG Key) that come up at various different times with YaST, since they're both about the same subject and one always follows the other. Annoying new popups (as they appear for the user) should be kept to a complete low I think. Any thoughts?
Comment 1 Thomas Fehr 2007-05-07 10:04:58 UTC
Duncan, I know this has been changed in 10.3 pretty havily anyway.
Comment 2 Duncan Mac-Vicar 2007-05-07 12:59:42 UTC
I think there is a bug. The second dialog should be asked once, as after the they is imported, you don't need to be asked again, it is like "trust and remember".
Comment 3 Duncan Mac-Vicar 2007-05-09 16:40:57 UTC
Fixed in subversion.

Comment 4 Duncan Mac-Vicar 2007-05-09 16:43:29 UTC
If you see the workflow in:

http://en.opensuse.org/Libzypp/Metadata_Signature

Trust means continue. Import means continue, and remember this key as trusted.

They are separate because an non-interactive program using zypp would want to never import keys, but always trust. Because importing a key would make the key trustable for other zypp applications.

Now, if you trust, and then you import, you will never be asked neither of the questions.
If you trust, but not import, you will be able to continue, but you will be asked again next time.