Skip to content

Cannot generate key #4

@rbu

Description

@rbu

Trying to generate a GPG key as documented in the readme:

    gpgkey { "fnord.backup":
        ensure => present,
        email => "fnord@example.org",
    }

I get:

Error: Could not set 'present' on ensure: GPGME::Error::General at 123:/tmp/vagrant-puppet/manifests/classes/fnord.pp
Error: Could not set 'present' on ensure: GPGME::Error::General at 324:/tmp/vagrant-puppet/manifests/classes/fnord.pp
[root@test ~]# gem list gpgme

*** LOCAL GEMS ***

gpgme (2.0.2)

[root@test ~]# puppet  --version
3.1.1

[root@test ~]# gpg --version
gpg (GnuPG) 2.0.14
libgcrypt 1.4.5
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, 
        CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
[root@test ~]# yum info gpgme
Installed Packages
Name        : gpgme
Arch        : x86_64
Version     : 1.1.8
Release     : 3.el6
Size        : 713 k
Repo        : installed
From repo   : anaconda-CentOS-201303020151.x86_64
Summary     : GnuPG Made Easy - high level crypto API
URL         : http://www.gnupg.org/related_software/gpgme/
License     : LGPLv2+
Description : GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
            : easier for applications.  It provides a high-level crypto API for
            : encryption, decryption, signing, signature verification and key
            : management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions