Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Default to only (En|De)crypt vars that need it | Chris Brinker | 2014-04-25 | 1 | -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 are | Chris St. Pierre | 2013-12-31 | 1 | -0/+1 |
| | |||||
* | bcfg2-crypt: handle error when encrypting properties with multiple keys | Chris St. Pierre | 2013-11-25 | 1 | -4/+8 |
| | |||||
* | bcfg2-crypt: Fixed variable name collision | Chris St. Pierre | 2013-11-12 | 1 | -3/+3 |
| | |||||
* | bcfg2-crypt: backported fixes in b5b26415161e715fe4d22d69328b06801ff7124d | Chris St. Pierre | 2013-11-12 | 1 | -22/+25 |
| | |||||
* | bcfg2-crypt: fixed missing EVPError | Chris St. Pierre | 2013-11-11 | 1 | -2/+1 |
| | |||||
* | bcfg2-crypt: better debugging, error handling with Properties files | Chris St. Pierre | 2013-11-11 | 1 | -3/+37 |
| | |||||
* | bcfg2-crypt: fixed completely backwards logic | Chris St. Pierre | 2013-11-11 | 1 | -1/+1 |
| | |||||
* | bcfg2-crypt: fixed deprecation warning | Chris St. Pierre | 2013-11-05 | 1 | -1/+1 |
| | |||||
* | bcfg2-crypt: prevent traceback for certain decrypt failures | Chris St. Pierre | 2013-08-05 | 1 | -1/+2 |
| | |||||
* | Rewrote bcfg2-crypt. | Chris St. Pierre | 2013-07-02 | 1 | -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 pep8 | Chris St. Pierre | 2013-03-26 | 1 | -3/+3 |
| | |||||
* | added PEP-8 style checks to test suite | Chris St. Pierre | 2013-03-11 | 1 | -1/+1 |
| | |||||
* | Made a few encryption things simpler: | Chris St. Pierre | 2013-01-17 | 1 | -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. Pierre | 2012-12-13 | 1 | -1/+11 |
| | | | | produce gibberish | ||||
* | flush input buffers before accepting stdin | Chris St. Pierre | 2012-11-12 | 1 | -7/+12 |
| | |||||
* | bcfg2-crypt: improved error message | Chris St. Pierre | 2012-10-22 | 1 | -1/+1 |
| | |||||
* | fixed bcfg2-crypt bug with single passphrase and algorithm specified | Chris St. Pierre | 2012-10-22 | 1 | -8/+15 |
| | |||||
* | expanded pylint coverage | Chris St. Pierre | 2012-09-25 | 1 | -46/+54 |
| | |||||
* | Encryption: improved docs, made algorithm configurable | Chris St. Pierre | 2012-09-20 | 1 | -13/+23 |
| | |||||
* | bcfg2-crypt: added -I option, made --stdout better, updated man page | Chris St. Pierre | 2012-09-13 | 1 | -56/+118 |
| | |||||
* | bcfg2-crypt: added --stdout option | Chris St. Pierre | 2012-09-11 | 1 | -4/+14 |
| | |||||
* | bcfg2-crypt: handle bogus xpath expression gracefully | Chris St. Pierre | 2012-09-11 | 1 | -0/+3 |
| | |||||
* | bcfg2-crypt: better handling of chunking errors | Chris St. Pierre | 2012-09-11 | 1 | -35/+68 |
| | |||||
* | fixed lxml.etree.tostring invocations | Chris St. Pierre | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | lots of various py3k fixes | Chris St. Pierre | 2012-08-21 | 1 | -1/+1 |
| | |||||
* | bcfg2-crypt: Prevent traceback when missing M2Crypto | Sol Jerome | 2012-08-13 | 1 | -1/+7 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | added support for encrypting different elements in a single Properties file ↵ | Chris St. Pierre | 2012-06-15 | 1 | -125/+156 |
| | | | | with different passphrases | ||||
* | fixed option alignment issues | Chris St. Pierre | 2012-06-15 | 1 | -1/+1 |
| | |||||
* | bcfg2-crypt fixes | Chris St. Pierre | 2012-06-07 | 1 | -58/+62 |
| | |||||
* | added properties element encryption | Chris St. Pierre | 2012-06-06 | 1 | -0/+321 |
added bcfg2-crypt utility for encrypting Properties and Cfg files |