mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 10:13:21 +00:00
3149d0b953
The use of non-UTF8 keys with the DynamoDB back-end causes a failure deep within the AWS request deserialization code, presenting a non-obvious failure to the user. This change adds validation to all backends that requires all keys are valid UTF8 strings. It also adds a warning to the Backend interface declaration that the keys may be constrained to valid UTF8. Other changes include: * Updating the `Backend` conformance test suite to not present binary keys to the various backend implementations. * Adding a `region` value to the DynamoDB configuration test input * Adding missing imports to `_test` files. * Updating build instructions in README |
||
---|---|---|
.. | ||
dynamo | ||
etcdbk | ||
firestore | ||
lite | ||
memory | ||
test | ||
backend.go | ||
backend_test.go | ||
buffer.go | ||
buffer_test.go | ||
defaults.go | ||
doc.go | ||
helpers.go | ||
report.go | ||
report_test.go | ||
sanitize.go | ||
sanitize_test.go | ||
wrap.go |