Problem installing cfengine - "key 1 not an armored public key"

4,475 views
Skip to first unread message

Charlie

unread,
Feb 11, 2013, 1:24:55 PM2/11/13
to help-c...@googlegroups.com


I'm having problems installing CFEngine 3.4.2 on Fedora 18.
Below is the sequence of commands I used to try and import gpg.key.  It is failing with a message telling me that "key 1 not an armored public key".

[root@hogwarts ~]# wget http://cfengine.org/pub/gpg.key
--2013-02-11 12:22:15--  http://cfengine.org/pub/gpg.key
Resolving cfengine.org (cfengine.org)... 62.109.39.151
Connecting to cfengine.org (cfengine.org)|62.109.39.151|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.cfengine.org/ [following]
--2013-02-11 12:22:16--  http://www.cfengine.org/
Resolving www.cfengine.org (www.cfengine.org)... 62.109.39.150
Connecting to www.cfengine.org (www.cfengine.org)|62.109.39.150|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://cfengine.com/ [following]
--2013-02-11 12:22:17--  http://cfengine.com/
Resolving cfengine.com (cfengine.com)... 62.109.39.150
Reusing existing connection to www.cfengine.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘gpg.key’

    [  <=>                                                        ] 28,288      57.2KB/s   in 0.5s  

2013-02-11 12:22:18 (57.2 KB/s) - ‘gpg.key’ saved [28288]

[root@hogwarts ~]# rpm --import gpg.key
error: gpg.key: key 1 not an armored public key.
[root@hogwarts ~]#


Thoughts?  Thanks much.

Brian Bennett

unread,
Feb 11, 2013, 1:37:02 PM2/11/13
to Charlie, help-c...@googlegroups.com
The key has moved to http://cfengine.com/pub/gpg.key

.org redirects, but only redirects to the root of .com, so the reason you're getting that error is because your downloaded file contains HTML, not a gpg key. It would be nice if at least for this file it would redirect to the key.

-- 
Brian
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help-cfengin...@googlegroups.com.
To post to this group, send email to help-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/help-cfengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Charlie

unread,
Feb 11, 2013, 1:41:24 PM2/11/13
to help-c...@googlegroups.com
Thanks very much!  That was the problem.  Once I changed the URL in my wget, the rest of the processed worked perfectly.

Reply all
Reply to author
Forward
0 new messages