Giter VIP home page Giter VIP logo

gpg's Introduction

GPG cookbook

Cookbook Version Build Status OpenCollective OpenCollective License

Installs and configures GPG on a system

Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Custom resources

This cookboks uses custom resources to control GPG2.

Install GPG2 and haveged

gpg_install

Generate a GPG key for a user

gpg_key 'foo' do
  user 'foo'
  passphrase 'this-is-not-secure'
end

For further detail please see the documentation for each resource, or the test cookbook for example usage.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

gpg's People

Contributors

axelrtgs avatar axl89 avatar bottkv488 avatar chrisroberts avatar damacus avatar gsreynolds avatar joemiller avatar johnroesler avatar josephholsten avatar kitchen-porter avatar liaden avatar powerschill avatar ramereth avatar renovate[bot] avatar tas50 avatar tophercullen avatar webframp avatar xorima avatar xorimabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpg's Issues

cookbook incomplete in supermarket (missing resources, etc.)

Cookbook version

0.3.0

Steps to Reproduce:

knife cookbook site download gpg
tree pgp

Expected Result:

tree pgp

├── Berksfile
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── TESTING.md
├── chefignore
├── libraries
│   └── helpers.rb
├── metadata.rb
├── resources
│   ├── install.rb
│   └── key.rb
├── spec
│   ├── spec_helper.rb
│   └── unit
│       ├── libraries
│       │   └── helpers_spec.rb
│       └── recipes
│           └── default_spec.rb
└── test
    ├── fixtures
    │   └── cookbooks
    │       └── test
    │           ├── metadata.rb
    │           └── recipes
    │               ├── default.rb
    │               └── dummy_key.rb
    └── integration
        └── default
            └── inspec
                └── default.rb

Actual Result:

├── CHANGELOG.md
├── CONTRIBUTING.md
├── README.md
├── attributes
│   └── default.rb
├── metadata.json
└── recipes
    └── default.rb

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • sous-chefs/.github 3.1.1
  • actions/checkout v4
  • actionshub/chef-install 3.0.0
  • actionshub/test-kitchen 3.0.0
.github/workflows/stale.yml
  • actions/stale v9

  • Check this box to trigger a request for Renovate to run again on this repository

Remove .rubocop.yml with Dangerfile

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

If the only thing in the .rubocop/yml is Dangerfile
Run the latest cookstyle
Remove .rubpopo.yml

Issue sprouted from sous-chefs/meta/issues/108. If not applicable then issue should be closed.

GPG batch mode fails on Ubuntu 18.04

Cookbook version

master

Platform Details

Ubuntu 18.04

Scenario:

Do anything in batch mode with --no-tty on Ubuntu. GPG still asks for a password.

This looks like the tracking issue (or something similar on debian.org

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735241

Expected Result:

[What are you expecting to happen as the consequence of above reproduction steps?]

Actual Result:

[What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.]

Time for a new release?

There are several PRs that have been merged since the last release was made. Is the cookbook ready for a new release?

I am running on bionic so #12 is relatively important for me.

Update builds to be parallel

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

As part of our build process we should build each possible operating system separately

  1. Ensure you have dokken setup and working:
  2. dokken: aliased to KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen
  3. run dokken list, you should see a list of builds with dokken as the provider
  4. download: https://github.com/sous-chefs/repo-management/blob/master/scripts/circleci_maker.rb and make this executable
  5. run: dokken list -j | ./circleci_maker.rb > .circleci/config.yml

Issue sprouted from sous-chefs/meta/issues/112. If not applicable then issue should be closed.

Run latest cookstyle

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

Chef have released updated cookstyle rules, we should therefore run the auto fix against the cookbook

  1. Ensure you are on the latest stable chef-workstation
  2. Run cookstyle -a

Issue sprouted from sous-chefs/meta/issues/111. If not applicable then issue should be closed.

master version needs to be bumped?

I noticed that the 0.3.0 version that's published in supermarket is an earlier version than what is in the master branch, which is still indicated as version '0.3.0' in the metadata. Unfortunately, I was looking forward to pulling the features in the master branch after seeing updates when I set 0.3.0 as a dependency in my cookbook. Since HEAD in the master branch has been merged, should the version be bumped and tagged as a newer release?

For now, I'm setting a commit version in Berksfile to pull the version I need.

cookbook 'gpg', git: 'https://github.com/sous-chefs/gpg', ref: '2f682a1'

Add the ability to add keys via --recv-keys

🍑 Problem Statement

It is not currently possible to add keys to GPG via the --recv-keys option.

❔ Possible Solution

  • Add a :receive_keys action & property to gpg_key
  • GPG command needs to optionally accept --keyserver (or have a default to gnupgkeys.net)

⤴️ Describe alternatives you've considered

  • Not doing it
  • Continue shelling out e.g.
  execute 'Adding gpg key' do
   command "`which gpg2 || which gpg` --keyserver #{key_server} --homedir #{home_dir} --recv-keys #{new_resource.gpg_key}"
   only_if 'which gpg2 || which gpg'
 end

➕ Additional context

Passphrase

Not sure if I'm missing something here, but how can I supply the passphrase?

key actions run as root user

The only action that currently executes as the resource user/group is generate. All other commands, such as import, execute as the chef-client user.

Update Changelog

🗣️ Foreword

Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.

👻 Brief Description

Update all CHANGELOGs to follow standard defined at https://keepachangelog.com/

Issue sprouted from sous-chefs/meta/issues/101. If not applicable then issue should be closed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.