Partial fix (and actually test for) user agent modification by mattsb42-aws · Pull Request #47 · aws/aws-encryption-sdk-python (original) (raw)
Issue #, if available: #25
Description of changes:
- Simplify the user agent to just identify the client in general, not any specific MKP.
- Use the correct method of setting the user agent for new clients.
- Add default client building logic for
KMSMasterKey
to both simplify direct use of the class and make it more likely that any given client is using our user agent. - Actually test to make sure that the user agent is really being modified.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.