Bug 867435 - [RFE] Importing GPG file with some random text shouldn't be allowed
Summary: [RFE] Importing GPG file with some random text shouldn't be allowed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-17 13:57 UTC by Sachin Ghai
Modified: 2017-02-09 20:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-09 20:50:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Imported key file with some random text (38.23 KB, image/png)
2012-10-17 13:57 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2012-10-17 13:57:43 UTC
Created attachment 628828 [details]
Imported key file with some random text

Description of problem:
I can import any random text file as GPG key file from UI. So I think UI should validate the key file first. 

Version-Release number of selected component (if applicable):
katello-configure-1.1.9-7.el6cf.noarch
katello-common-1.1.12-16.el6cf.noarch
katello-1.1.12-16.el6cf.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-1.1.8-7.el6cf.noarch
katello-certs-tools-1.1.8-1.el6cf.noarch
katello-glue-candlepin-1.1.12-16.el6cf.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-1.1.8-7.el6cf.noarch
katello-glue-pulp-1.1.12-16.el6cf.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-selinux-1.1.1-1.el6cf.noarch
katello-all-1.1.12-16.el6cf.noarch


How reproducible:
always

Steps to Reproduce:
1. Create a text file with some random text
2. Import it,  click the Content->Repositories->GPG Keys subtab
3.
  
Actual results:
UI successfully imports any file with some random text as GPG key

Expected results:
UI should validate the gpg key file before import. and Should raise an error some thing like: "Contents are not valid, Please import some valid key file."

Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:46:38 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 5 Todd Warner 2017-02-09 20:50:13 UTC
Due to the age of this request, and our prioritization, I am closing this bugzilla. The prioritization ensured that it was not something we could ever address in a meaningful timeframe.

-todd warner, PM, Satellite


Note You need to log in before you can comment on or make changes to this bug.