Skip to content

A super secure rot13 Chef cookbook, you know, cause it had to be done.

Notifications You must be signed in to change notification settings

ut-cookbooks/rot13

Repository files navigation

Rot13 Chef Cookbook

Build Status

Description

Chef cookbook for securing sensitive payloads on nodes using a classic Caesar cipher. You know, 'cause it had to be done.

Usage

Simply add a depends "rot13" in one of your cookbooks or include recipe[rot13] in your run_list and you will have access to the rot13_vault lwrp.

Requirements

Chef

Tested on 11.10.4 but newer and older versions should work just fine. File an issue if this isn't the case.

Platform

The following platforms have been tested with this cookbook, meaning that the recipes run on these platforms without error:

  • ubuntu (12.04)
  • centos (6.4)

Please report any additional platforms so they can be added.

Cookbooks

This cookbook has no cookbook dependencies.

Recipes

default

This recipe, gloriously, does nothing.

Attributes

This cookbook depends on no attributes.

Resources and Providers

rot13_vault

Actions

Action Description Default
create Creates the encoded file. Yes

Attributes

Attribute Description Default Value
path Name attribute: The path for the file. nil
owner The owner of the file. nil
group The group ownership of the file. nil
mode The permissions of the file. nil
payload The content that is to be encoded in the file. nil

Examples

rot13_vault "lockdown" do
  path    "/etc/private/nopeek"
  owner   "root"
  group   "root"
  mode    "0400"
  payload "please don't decode this"
end

rot13_vault "/tmp/nothin" do
  payload <<-PAYLOAD
once upon a time, ...
PAYLOAD
end

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make.

License and Author

Author:: Fletcher Nichol (fnichol@nichol.ca) endorse

Copyright 2014, Fletcher Nichol

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A super secure rot13 Chef cookbook, you know, cause it had to be done.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages