1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Andy Freeland
88f77253c6 Makefile debugging 2018-11-27 10:57:00 -08:00
Andy Freeland
0bf75c4b56 Fix --extract on Python 3
Previously, `--extract` would fail on Python 3:

```
Traceback (most recent call last):
  File "/Users/andy/.virtualenvs/sops-py3/bin/sops", line 11, in <module>
    load_entry_point('sops', 'console_scripts', 'sops')()
  File "/Users/andy/forks/sops/sops/__init__.py", line 278, in main
    write_file(tree, path=dest, filetype=otype)
  File "/Users/andy/forks/sops/sops/__init__.py", line 1321, in write_file
    sys.stdout.write(tree.encode('utf-8'))
TypeError: write() argument must be str, not bytes
```
2018-11-27 10:36:07 -08:00
Andy Freeland
00189d5076 Cross-platform sha256 command 2018-03-30 12:34:21 -07:00
Julien Vehent
51e13b1589 Fix handling of binary data to preserve integrity, fixes #59 2016-04-19 12:23:46 -04:00
Julien Vehent
980096212b don't require tests when pushing to pypi 2016-03-24 09:57:39 -04:00
Julien Vehent
9a388912f9 Make data key rotation with -r a separate mode
This patch changes the behavior of `-r` to make it behave like the
encrypt, decrypt or editing mode: it is now a full roundtrip over an
existing encrypted file that decrypts, creates a new data key, encrypts
and encrypts the data key with all master keys. This new mode makes it a
lot easier to rotate data keys without having to edit files.
2015-11-25 08:28:44 -05:00
Julien Vehent
ec34a75816 Add support for encrypting binary files, treat all text as bytes, fixes #22 2015-10-26 14:17:38 -04:00
Julien Vehent
4d20413818 help/usage updates 2015-10-11 09:09:28 -04:00
Julien Vehent
51ec069d48 Add some functional tests 2015-10-08 15:43:15 -04:00
Rémy HUBSCHER
f8cb48c98a Add coverage 2015-09-25 12:29:46 +02:00
Rémy HUBSCHER
079fb2ead0 Port to Python 2.6 2015-09-25 12:01:46 +02:00
Rémy HUBSCHER
2c1906c594 Add tox and travis-ci matrix 2015-09-25 11:48:32 +02:00
Julien Vehent
f1b4bd91ce Makefile update 2015-09-24 13:46:10 -04:00
Julien Vehent
35a827511c Fix layout for pip distribution 2015-09-06 21:55:32 -04:00
Julien Vehent
045f31a348 0.2: support for multiple KMS ARN, support for PGP 2015-09-06 17:20:34 -04:00