aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDanny Hermes <daniel.j.hermes@gmail.com>2015-05-03 14:43:04 -0700
committerDanny Hermes <daniel.j.hermes@gmail.com>2015-05-03 14:44:00 -0700
commit381aac7ffa1df63c17b319b7547d3b84a26a5f40 (patch)
treeeb94344828989c1dfa760bafeaf2e943173c68ed /tests/data
parent1929a8cd872279a5a0d9c6da83a9ec4b616b52f4 (diff)
downloadoauth2client-381aac7ffa1df63c17b319b7547d3b84a26a5f40.tar.gz
Final iteration to make system tests pass.
Two main things happened here: 1. Manually encrypted files instead of using `travis encrypt-file` 2. Removed OAUTH2CLIENT_TEST_USER_KEY_PATH fallback. The first was because `travis encrypt-file` was failing mysteriously. To make up, I ran openssl enc -d -a -md sha1 -aes-256-cbc -nosalt -p and typed random noise into the keyboard to create a candidate KEY and IV (H/T http://superuser.com/a/471524). After doing this, they were set via travis env set OAUTH2CLIENT_KEY "..KEY.." --repo "google/oauth2client" travis env set OAUTH2CLIENT_IV "..IV.." --repo "google/oauth2client" To actually do the encryption locally: openssl aes-256-cbc -K "..KEY.." \ -iv "..IV.." \ -in file-to-encrypt \ -out file-to-encrypt.enc -e As for the second change, OAUTH2CLIENT_TEST_USER_KEY_PATH was previously allowed to fallback to client._get_well_known_file() in system tests, but this is a problem since that function throws an OSError when the directory does not exist. (It does not exist on Travis.)
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/key.json.encbin1248 -> 1248 bytes
-rw-r--r--tests/data/key.p12.encbin1744 -> 1744 bytes
-rw-r--r--tests/data/user-key.json.encbin240 -> 240 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/tests/data/key.json.enc b/tests/data/key.json.enc
index b2883f9..1cf0705 100644
--- a/tests/data/key.json.enc
+++ b/tests/data/key.json.enc
Binary files differ
diff --git a/tests/data/key.p12.enc b/tests/data/key.p12.enc
index 3f98961..5e2f6ec 100644
--- a/tests/data/key.p12.enc
+++ b/tests/data/key.p12.enc
Binary files differ
diff --git a/tests/data/user-key.json.enc b/tests/data/user-key.json.enc
index 22f1dc7..03e1bc6 100644
--- a/tests/data/user-key.json.enc
+++ b/tests/data/user-key.json.enc
Binary files differ