64 lines
3.3 KiB
Markdown
64 lines
3.3 KiB
Markdown
# GPG cookbook
|
||
|
||
[](https://supermarket.chef.io/cookbooks/gpg)
|
||
[](https://circleci.com/gh/sous-chefs/gpg)
|
||
[](#backers)
|
||
[](#sponsors)
|
||
[](https://opensource.org/licenses/Apache-2.0)
|
||
|
||
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](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).
|
||
|
||
## Custom resources
|
||
|
||
This cookboks uses custom resources to control GPG2.
|
||
|
||
Install GPG2 and haveged
|
||
|
||
```ruby
|
||
gpg_install
|
||
```
|
||
|
||
Generate a GPG key for a user
|
||
|
||
```ruby
|
||
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.
|
||
|
||
- [gpg_install](https://github.com/sous-chefs/gpg/blob/master/documentation/resource/install.md)
|
||
- [gpg_key](https://github.com/sous-chefs/gpg/blob/master/documentation/resource/key.md)
|
||
- [Test Cookbook](https://github.com/sous-chefs/gpg/blob/master/test/fixtures/cookbooks/test/recipes)
|
||
|
||
## Contributors
|
||
|
||
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
|
||
|
||
### Backers
|
||
|
||
Thank you to all our backers!
|
||
|
||

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

|
||

|
||

|
||

|
||

|
||

|
||

|
||

|
||

|
||

|