Commit Graph

1025 Commits

Author SHA1 Message Date
Jeff Mitchell 18c96d66f9 changelog++ 2018-05-16 13:31:56 -04:00
Jeff Mitchell a0c5ac1211 changelog++ 2018-05-16 12:14:22 -04:00
Jeff Mitchell f7e37de648 Re-add capability to unwrap pre-0.6.2 wrapping tokens 2018-05-15 20:01:58 -04:00
Jeff Mitchell 6b2593ff54 changelog++ 2018-05-11 11:58:52 -04:00
Tyler Marshall 407550bd89 Fix minor spelling mistake (#4548) 2018-05-10 13:42:01 -07:00
Jeff Mitchell ae3fed38fe changelog++ 2018-05-10 15:40:45 -04:00
Jeff Mitchell af802275bd
Fix response wrapping from K/V version 2 (#4511)
This takes place in two parts, since working on this exposed an issue
with response wrapping when there is a raw body set. The changes are (in
diff order):

* A CurrentWrappingLookupFunc has been added to return the current
value. This is necessary for the lookahead call since we don't want the
lookahead call to be wrapped.

* Support for unwrapping < 0.6.2 tokens via the API/CLI has been
removed, because we now have backends returning 404s with data and can't
rely on the 404 trick. These can still be read manually via
cubbyhole/response.

* KV preflight version request now ensures that its calls is not
wrapped, and restores any given function after.

* When responding with a raw body, instead of always base64-decoding a
string value and erroring on failure, on failure we assume that it
simply wasn't a base64-encoded value and use it as is.

* A test that fails on master and works now that ensures that raw body
responses that are wrapped and then unwrapped return the expected
values.

* A flag for response data that indicates to the wrapping handling that
the data contained therein is already JSON decoded (more later).

* RespondWithStatusCode now defaults to a string so that the value is
HMAC'd during audit. The function always JSON encodes the body, so
before now it was always returning []byte which would skip HMACing. We
don't know what's in the data, so this is a "better safe than sorry"
issue. If different behavior is needed, backends can always manually
populate the data instead of relying on the helper function.

* We now check unwrapped data after unwrapping to see if there were raw
flags. If so, we try to detect whether the value can be unbase64'd. The
reason is that if it can it was probably originally a []byte and
shouldn't be audit HMAC'd; if not, it was probably originally a string
and should be. In either case, we then set the value as the raw body and
hit the flag indicating that it's already been JSON decoded so not to
try again before auditing. Doing it this way ensures the right typing.

* There is now a check to see if the data coming from unwrapping is
already JSON decoded and if so the decoding is skipped before setting
the audit response.
2018-05-10 15:40:03 -04:00
Jeff Mitchell eecdbb0ee8 changelog++ 2018-05-09 10:55:44 -04:00
Jeff Mitchell 2cc4f20f18 Revert "changelog++"
This reverts commit cd603e299cbe7377ed27cf702ba23dc8cdcc4a33.
2018-05-07 16:11:18 -04:00
Jeff Mitchell 767d241fda changelog++ 2018-05-07 14:02:47 -04:00
Chris Hoffman d4265b59ab
changelog++ 2018-05-07 13:54:29 -04:00
Chris Hoffman caa48d3e60
changelog++ 2018-05-07 13:27:54 -04:00
Jeff Mitchell b894050c21 changelog++ 2018-05-04 13:26:39 -04:00
vishalnayak 9fcda0c1f0 changelog++ 2018-05-04 10:17:18 -04:00
Jeff Mitchell ef8f23a0b2 changelog++ 2018-05-04 10:09:43 -04:00
Jeff Mitchell 3d56e0eb5f changelog++ 2018-05-01 11:24:02 -04:00
Jeff Mitchell cdece25b98 changelog++ 2018-04-26 16:26:44 -04:00
Jeff Mitchell b20a5d05bd changelog++ 2018-04-25 15:49:02 -04:00
Jeff Mitchell 8d90f441ba changelog++ 2018-04-25 12:09:49 -04:00
Jeff Mitchell 21357cba1b changelog++ 2018-04-25 03:14:20 -04:00
Jeff Mitchell c8b7594811 Fix date in CL 2018-04-25 02:45:11 -04:00
Jeff Mitchell edf531f552 changelog++ 2018-04-25 00:43:13 -04:00
Matthew Irish f2bc5d9b25
Update CHANGELOG.md 2018-04-24 22:24:07 -05:00
Jeff Mitchell e29bf3df61 changelog++ 2018-04-24 22:42:26 -04:00
vishalnayak 34a26c64a8 changelog++ 2018-04-24 19:17:27 -04:00
Matthew Irish f61ea271d7
changelog++ 2018-04-24 16:35:03 -05:00
Matthew Irish 6c83f3b7e7
changelog++ 2018-04-24 10:04:05 -05:00
Jeff Mitchell fbb5e201f5 changelog++ 2018-04-23 18:05:08 -04:00
Jeff Mitchell 89816ca76c changelog++ 2018-04-23 18:02:26 -04:00
Jeff Mitchell 182d960ecc changelog++ 2018-04-23 18:01:08 -04:00
Jeff Mitchell 3e6a9d5e09 changelog++ 2018-04-23 15:05:50 -04:00
vishalnayak 5cc02fd64b changelog++ 2018-04-23 13:52:11 -04:00
Calvin Leung Huang 72e70afe21 changelog++ 2018-04-23 10:31:08 -04:00
Jeff Mitchell bb8fa74a53 changelog++ 2018-04-23 10:11:45 -04:00
Jeff Mitchell 1cacd517f8 changelog++ 2018-04-21 10:51:47 -04:00
Matthew Irish 5fd178b423
changelog++ 2018-04-19 20:55:31 -05:00
Jeff Mitchell 6eb2f2f8a3 changelog++ 2018-04-18 16:35:36 -04:00
Matthew Irish 4c9e6c52ab
changelog++ 2018-04-18 14:31:35 -05:00
vishalnayak e1d857fed9 changelog++ 2018-04-18 13:11:40 -04:00
Jeff Mitchell cfd8021a6b changelog++ 2018-04-17 18:53:50 -04:00
vishalnayak 90d50b8eed changelog++ 2018-04-17 12:04:01 -04:00
Jeff Mitchell 8e1aea5eb3 changelog++ 2018-04-17 11:58:37 -04:00
vishalnayak 2ffc74c887 changelog++ 2018-04-17 11:19:54 -04:00
Jeff Mitchell 56addaf97c changelog++ 2018-04-13 21:51:08 -04:00
Benjamin Lupton 5f1be19fbf changelog: fixed some spelling mistakes (#4331) 2018-04-10 16:09:44 -04:00
Chris Hoffman 556c035cb5
changelog++ 2018-04-10 14:11:53 -04:00
Jeff Mitchell c56abb0dd8 Add more info to upgrade guide and changelog 2018-04-10 12:09:54 -04:00
Brian Kassouf d441d2784c
changelog++ 2018-04-10 08:22:38 -07:00
Brian Kassouf 940fca5884
changelog++ 2018-04-10 08:09:50 -07:00
Brian Kassouf 79a78ee23f
changelog++ 2018-04-10 08:03:51 -07:00
Jeff Mitchell 4de07e436e Prep for 0.10 2018-04-10 02:34:01 -04:00
Jeff Mitchell e8cf2fbffb Update Changelog 2018-04-10 00:35:28 -04:00
Jeff Mitchell 8dd71eb8c3 changelog++ 2018-04-09 15:21:32 -04:00
Chris Hoffman 2bb7452828
changelog++ 2018-04-09 09:40:51 -04:00
Chris Hoffman 28479e6f20
changelog++ 2018-04-09 09:33:14 -04:00
Jeff Mitchell d2a9ac9c32 changelog++ 2018-04-07 21:08:32 -04:00
Brian Kassouf aa9c93a680
changelog++ 2018-04-04 09:29:27 -07:00
Jeff Mitchell 4b936ea976 changelog++ 2018-04-04 12:19:21 -04:00
Chris Hoffman d854ccfc64 changelog++ 2018-04-03 13:52:30 -04:00
Chris Hoffman 4fc6364157 changelog++ 2018-04-03 13:51:28 -04:00
Matthew Irish cf1a9647f4
changelog ++ 2018-04-03 11:40:11 -05:00
Jeff Mitchell f5ba4796f5
Case insensitive behavior for LDAP (#4238) 2018-04-03 09:52:43 -04:00
vishalnayak 461133b785 changelog++ 2018-04-02 10:46:51 -04:00
Jeff Mitchell 16b5ab192f changelog++ 2018-03-30 12:43:19 -04:00
Jeff Mitchell 51b34fed4c changelog++ 2018-03-30 12:42:28 -04:00
Jeff Mitchell 3172f29474 changelog++ 2018-03-30 12:37:34 -04:00
vishalnayak da1ce85482 changelog++ 2018-03-30 12:15:11 -04:00
Jeff Mitchell c17ba0335e changelog++ 2018-03-30 09:55:44 -04:00
Jeff Mitchell d034d8040a changelog++ 2018-03-29 15:29:17 -04:00
Jeff Mitchell 628e2072d0 changelog++ 2018-03-28 14:47:24 -04:00
Jeff Mitchell 26c891c223 Merge branch 'master-oss' into 0.10-beta 2018-03-28 10:14:43 -04:00
vishalnayak 1a060446a9 changelog++ 2018-03-27 17:04:13 -04:00
Jeff Mitchell c02e8dd428 changelog++ 2018-03-27 16:35:25 -04:00
Jeff Mitchell 2f90e0c2e1 Merge branch 'master-oss' into 0.10-beta 2018-03-27 12:40:30 -04:00
Calvin Leung Huang a8ffa6b663 changelog++ 2018-03-27 11:31:29 -04:00
Jim Kalafut 84b0b97f6f changelog++ 2018-03-23 13:19:47 -07:00
Jeff Mitchell 74452d7db7
Update CHANGELOG.md 2018-03-23 15:16:17 -04:00
Jeff Mitchell 1b6847c8e5 changelog++ 2018-03-22 16:38:34 -04:00
Jeff Mitchell 54d1be545d changelog++ 2018-03-22 00:21:51 -04:00
Jeff Mitchell 1d23455829 changelog++ 2018-03-20 16:07:15 -04:00
Josh Soref 73b1fde82f Spelling (#4119) 2018-03-20 14:54:10 -04:00
Jeff Mitchell 396ccd8699 Push up changes to prep for release 2018-03-20 14:10:53 -04:00
Jeff Mitchell 4d48fd4add changelog++ 2018-03-20 11:47:41 -04:00
Jeff Mitchell c9e79964c9 changelog++ 2018-03-20 10:10:48 -04:00
Jeff Mitchell 91e36e5a00 changelog++ 2018-03-19 22:05:55 -04:00
Jeff Mitchell c3569011b7 changelog++ 2018-03-19 18:36:13 -04:00
Jeff Mitchell cc48513cbb changelog++ 2018-03-19 15:53:58 -04:00
Jeff Mitchell 0b62264b68 changelog++ 2018-03-19 15:49:13 -04:00
vishalnayak 050a848cfb changelog++ 2018-03-18 18:32:47 -04:00
Jeff Mitchell a6063977b9 changelog++ 2018-03-17 21:29:56 -04:00
Jeff Mitchell 058b1210ce changelog++ 2018-03-17 21:27:18 -04:00
Jeff Mitchell 9f9eb11178 changelog++ 2018-03-15 12:25:29 -04:00
Jeff Mitchell f24dfe7bd3 changelog++ 2018-03-15 12:24:48 -04:00
Jeff Mitchell 5c5954573a changelog++ 2018-03-15 12:18:00 -04:00
Jeff Mitchell 282156bae5 changelog++ 2018-03-13 10:40:50 -04:00
vishalnayak 71fb22073a changelog++ 2018-03-10 03:37:29 -05:00
Jeff Mitchell d6fcc0b244 changelog++ 2018-03-09 10:54:23 -05:00
Jeff Mitchell 13c3c9ea55 changelog++ 2018-03-09 10:44:06 -05:00
Jeff Mitchell ab01acc145 changelog++ 2018-03-08 13:09:07 -05:00
Jeff Mitchell 74fb5ccdbc changelog++ 2018-03-07 23:27:30 -05:00
Jeff Mitchell 7042398f5f changelog++ 2018-03-05 08:33:32 -05:00
Jeff Mitchell b8ed822cc0 changelog++ 2018-03-02 11:11:36 -05:00
vishalnayak 62b8e89b22 changelog++ 2018-03-01 11:17:30 -05:00
Jeff Mitchell ff99c8420e changelog++ 2018-03-01 11:09:30 -05:00
Jeff Mitchell 3d7b2d98fa changelog++ 2018-02-28 10:08:28 -05:00
Jeff Mitchell c62927bc4a changelog++ 2018-02-26 17:20:23 -05:00
Jeff Mitchell abeb0fd45c Bump versions in preparation for release 2018-02-26 12:20:19 -05:00
Jeff Mitchell 9b086e45a8 changelog++ 2018-02-26 12:17:43 -05:00
vishalnayak e3aceecb78 changelog++ 2018-02-23 21:30:51 -05:00
Jason 865cb8786b Update CHANGELOG.md (#4035) 2018-02-23 21:28:56 -05:00
Jeff Mitchell 8b09949a81 changelog++ 2018-02-23 11:16:26 -05:00
Jeff Mitchell 1ceaadabfb changelog++ 2018-02-22 20:56:10 -05:00
Jeff Mitchell abeb5b05aa changelog++ 2018-02-22 20:35:59 -05:00
Jeff Mitchell 8fe43cd98e Revert Go dep to 1.9
Ping GH-4028
2018-02-22 20:21:07 -05:00
Jeff Mitchell 9f984333ec changelog++ 2018-02-22 20:08:28 -05:00
Calvin Leung Huang b5c54c4ecb changelog++ 2018-02-22 10:30:27 -05:00
Jeff Mitchell 2c3c0e3aea changelog++ 2018-02-22 08:50:27 -05:00
Jeff Mitchell f629200bcb
Update CHANGELOG.md 2018-02-21 17:28:08 -05:00
Jeff Mitchell 227ebcc188 Bump files for new version 2018-02-20 14:51:20 -05:00
Jeff Mitchell 6be21b1068 changelog++ 2018-02-20 11:16:28 -05:00
Jeff Mitchell f61a60f440 changelog++ 2018-02-17 20:53:29 -05:00
Brian Kassouf de38ff3ac8
changelogg++ 2018-02-16 17:44:51 -08:00
vishalnayak 4ffd622648 changelog++ 2018-02-16 17:46:04 -05:00
Jeff Mitchell 9e9d8329b5 changelog++ 2018-02-16 17:22:57 -05:00
Jeff Mitchell cf2e40c219 changelog++ 2018-02-16 12:53:43 -05:00
Jeff Mitchell eb4db84ae7 changelog++ 2018-02-16 11:12:19 -05:00
Matthew Irish e39108c0d3
changelog ++ 2018-02-15 16:15:53 -06:00
Jeff Mitchell 3f9cc9583a changelog++ 2018-02-14 20:31:45 -05:00
Jeff Mitchell 4d8100aff6 changelog++ 2018-02-14 20:30:36 -05:00
Jeff Mitchell eeae8dca1e changelog++ 2018-02-14 16:11:55 -05:00
Jeff Mitchell e52c4b9472 changelog++ 2018-02-14 12:00:39 -05:00
Jeff Mitchell 30a9c0a99a changelog++ 2018-02-14 09:24:26 -05:00
Jeff Mitchell 22165fb12a changelog++ 2018-02-12 18:26:27 -05:00
Jeff Mitchell ff12a28ec7 changelog++ 2018-02-12 18:24:55 -05:00
Jeff Mitchell e708fd5da9 changelog++ 2018-02-12 17:54:15 -05:00
Jeff Mitchell 3b2393aa2b changelog++ 2018-02-12 17:28:11 -05:00
Jeff Mitchell f46947e591 changelog++ 2018-02-12 16:12:42 -05:00
Jeff Mitchell 80e25b66b8 changelog++ 2018-02-10 10:08:07 -05:00
Jeff Mitchell e149f52744 changelog++ 2018-02-09 13:55:03 -05:00
Jeff Mitchell b29759fb10 changelog++ 2018-02-09 13:44:54 -05:00
vishalnayak d44b098ae8 changelog++ 2018-02-09 10:43:13 -05:00
Brian Kassouf e0eda844d5
changelog++ 2018-02-08 16:52:14 -08:00
vishalnayak 9b8bd6dfe8 changelog++ 2018-02-07 20:44:33 -05:00
Jeff Mitchell 4d674b978b changelog++ 2018-02-07 15:57:52 -05:00
vishalnayak 52e55776d8 changelog++ 2018-02-06 15:46:22 -05:00
vishalnayak 99a75c871a changelog++ 2018-02-06 13:09:38 -05:00
Jeff Mitchell fb5ab2915d changelog++ 2018-02-05 12:23:12 -05:00
Jeff Mitchell 39bdd318d5 changelog++ 2018-02-05 11:23:03 -05:00
Jeff Mitchell 6dfd2d0684 changelog++ 2018-02-05 10:57:22 -05:00
Jeff Mitchell 041d0d4abf changelog++ 2018-02-03 13:28:15 -05:00