summaryrefslogtreecommitdiff
path: root/lib/chef/encrypted_data_bag_item
Commit message (Collapse)AuthorAgeFilesLines
* fix Style/SpaceInsideStringInterpolationLamont Granquist2016-12-061-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* This commit is why AndOr needs to be bannedLamont Granquist2016-03-141-4/+4
| | | | | | | | I can barely understand what these intend. I'm pretty certain that the logic in the encrypted data bag item code was wrong (fixed now to match the comment) and I'm believe I converted the yum code to preserve the logic. But holy fuck its hard to read the yum code that I'm replacing.
* chefstyle Style/AndOr fixesLamont Granquist2016-03-141-1/+1
| | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well.
* pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-1/+1
| | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* Merge pull request #3183 from dansteen/masterThom May2016-02-091-2/+4
|\ | | | | fix for https://github.com/chef/chef/issues/2113
| * fixed typo and reworked language per lamontDaniel Steen2016-01-191-2/+2
| |
| * Merge remote-tracking branch 'upstream/master'Daniel Steen2016-01-194-28/+28
| |\
| * | fix for https://github.com/chef/chef/issues/2113Daniel Steen2015-04-021-2/+4
| | |
* | | autofixing whitespace copsLamont Granquist2016-02-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* | | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-027-7/+7
| | | | | | | | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* | | Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-027-7/+7
| | | | | | | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* | | Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-0210-10/+10
| |/ |/| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimetersLamont Granquist2016-01-181-3/+3
| | | | | | | | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book.
* | Use double quotes by defaultThom May2016-01-144-22/+22
| | | | | | | | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* | autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-3/+3
|/ | | | chefstyle -a fixed 1044 occurrances
* EncryptedDataBagItem: remove Cipher#auth_data method existence check (ruby ↵Xabier de Zuazo2015-01-271-3/+0
| | | | 1.8 specific, issue #2497)
* Disable data bag encryption v3 specs on ruby 1.9.X.sersut/chef-rc-fixesSerdar Sutay2014-10-202-2/+2
|
* Refactoring duplicated code into a separate module. Also making CLI options ↵tyler-ball2014-09-291-0/+56
| | | | more informative
* Add ::encryptor_keys to versioned encryptor classes.Claire McQuin2014-08-221-0/+12
|
* Use thread-safe OpenSSL::Digest instead of DigestGrzesiek Kolodziejczyk2014-08-202-2/+2
|
* remove JSON gem usageLamont Granquist2014-08-111-4/+3
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* [CHEF-5356-gcm] moved some requires from decryptor.rb to assertions.rbXabier de Zuazo2014-07-092-2/+3
|
* [CHEF-5356-gcm] Use OpenSSL::Cipher and OpenSSL::Digest instead of ↵Xabier de Zuazo2014-07-084-13/+13
| | | | OpenSSL::Cipher::Cipher and OpenSSL::Digest::Digest
* [CHEF-5356-gcm] If the requirements to use Encryted Data Bags 3 are not met, ↵Xabier de Zuazo2014-07-064-18/+106
| | | | give a meaningful error message
* [CHEF-5356-gcm] Chef::EncryptedDataBagItem Version3 implementation using GCMXabier de Zuazo2014-07-013-11/+134
|
* replace yajl and json gem with ffi-yajlLamont Granquist2014-06-232-5/+5
|
* Split EncryptedDataBagItem into multiple filesJohn Keiser2013-12-036-0/+431