summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-crypt
Commit message (Collapse)AuthorAgeFilesLines
* Default to only (En|De)crypt vars that need itChris Brinker2014-04-251-2/+1
| | | | | | | | | | | | | | For both Encrypting and Decrypting of Properties files, we should by default only attempt to execute on elements that have an "encrypted" attribute defined. The code will already attempt to encrypt every element if nothing in the current document matches this xpath, which catches the case of a user trying to fully encrypt a completely new properties file. Conflicts: src/lib/Bcfg2/Server/Encryption.py
* bcfg2-crypt: actually skip an element when we say we areChris St. Pierre2013-12-311-0/+1
|
* bcfg2-crypt: handle error when encrypting properties with multiple keysChris St. Pierre2013-11-251-4/+8
|
* bcfg2-crypt: Fixed variable name collisionChris St. Pierre2013-11-121-3/+3
|
* bcfg2-crypt: backported fixes in b5b26415161e715fe4d22d69328b06801ff7124dChris St. Pierre2013-11-121-22/+25
|
* bcfg2-crypt: fixed missing EVPErrorChris St. Pierre2013-11-111-2/+1
|
* bcfg2-crypt: better debugging, error handling with Properties filesChris St. Pierre2013-11-111-3/+37
|
* bcfg2-crypt: fixed completely backwards logicChris St. Pierre2013-11-111-1/+1
|
* bcfg2-crypt: fixed deprecation warningChris St. Pierre2013-11-051-1/+1
|
* bcfg2-crypt: prevent traceback for certain decrypt failuresChris St. Pierre2013-08-051-1/+2
|
* Rewrote bcfg2-crypt.Chris St. Pierre2013-07-021-303/+232
| | | | | | | | | | | | | | This adds several features and generally makes it work a lot more smoothly by not trying to overoptimize and share too much code. You can now brute-force decrypt a Cfg file (i.e., without specifying a passphrase, it will try all of them). You can also now write a Properties file with `encrypted="passphrase_name"` attributes in place, and then encrypt (and decrypt) it in one fell swoop. Various other minor improvements.
* testsuite: fixed issues found by latest version of pep8Chris St. Pierre2013-03-261-3/+3
|
* added PEP-8 style checks to test suiteChris St. Pierre2013-03-111-1/+1
|
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-8/+11
| | | | | | * Only one strict/lax setting, in [encryption], rather than separate settings in [properties] and [sshkeys] * No longer necessary to enable encryption on each Properties file
* bcfg2-crypt: fixed edge case where value is decrypted with the wrong key to ↵Chris St. Pierre2012-12-131-1/+11
| | | | produce gibberish
* flush input buffers before accepting stdinChris St. Pierre2012-11-121-7/+12
|
* bcfg2-crypt: improved error messageChris St. Pierre2012-10-221-1/+1
|
* fixed bcfg2-crypt bug with single passphrase and algorithm specifiedChris St. Pierre2012-10-221-8/+15
|
* expanded pylint coverageChris St. Pierre2012-09-251-46/+54
|
* Encryption: improved docs, made algorithm configurableChris St. Pierre2012-09-201-13/+23
|
* bcfg2-crypt: added -I option, made --stdout better, updated man pageChris St. Pierre2012-09-131-56/+118
|
* bcfg2-crypt: added --stdout optionChris St. Pierre2012-09-111-4/+14
|
* bcfg2-crypt: handle bogus xpath expression gracefullyChris St. Pierre2012-09-111-0/+3
|
* bcfg2-crypt: better handling of chunking errorsChris St. Pierre2012-09-111-35/+68
|
* fixed lxml.etree.tostring invocationsChris St. Pierre2012-08-221-1/+1
|
* lots of various py3k fixesChris St. Pierre2012-08-211-1/+1
|
* bcfg2-crypt: Prevent traceback when missing M2CryptoSol Jerome2012-08-131-1/+7
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added support for encrypting different elements in a single Properties file ↵Chris St. Pierre2012-06-151-125/+156
| | | | with different passphrases
* fixed option alignment issuesChris St. Pierre2012-06-151-1/+1
|
* bcfg2-crypt fixesChris St. Pierre2012-06-071-58/+62
|
* added properties element encryptionChris St. Pierre2012-06-061-0/+321
added bcfg2-crypt utility for encrypting Properties and Cfg files