chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::EncryptedDataBagItem::CheckEncrypted#looks_like_encrypted?
Checks if data looks like it has been encrypted by Chef::EncryptedDataBagItem::Encryptor::VersionXEncryptor. Returns true only when there is an exact match between the VersionXEncryptor keys and the hash's keys.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/encrypted_data_bag_item/check_encrypted.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--EncryptedDataBagItem--CheckEncrypted-looks_like_encrypted--for-pr
# Commit to gitgit add lib/chef/encrypted_data_bag_item/check_encrypted.rbgit commit -m "better docs for Chef::EncryptedDataBagItem::CheckEncrypted#looks_like_encrypted?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--EncryptedDataBagItem--CheckEncrypted-looks_like_encrypted--for-pr
hub pull-request
# Celebrate!