Commit Graph

212 Commits

Author SHA1 Message Date
Juan Martinez
ed93821621 Set ECR imagePushedAt to current date and time (#2229) 2019-06-06 13:34:10 +01:00
Daniel Miranda
fb2a76fd66 ec2: add support for creation and importing of real SSH keys (#2108)
* ec2: add support for creation and importing of real SSH keys

* setup: lock PyYAML version to avoid incompatibilities
2019-05-25 11:17:52 +01:00
Steve Pulec
036d6a8698 1.3.8 2019-04-22 19:23:45 -05:00
Dan Palmer
e28bcf20ea
Bump Jinja2 to >=2.10.1, addresses CVE-2019-10906
Given how moto is intended to be used, and how it uses Jinja2, [CVE-2019-10906](https://nvd.nist.gov/vuln/detail/CVE-2019-10906) is unlikely to affect many users, but we should use a secure version anyway just in case moto is being used in unforeseen ways.
2019-04-15 10:48:55 +01:00
Chih-Hsuan Yen
7b7cf5bd11
Bump idna to 2.8
requests 2.21.0 allows idna 2.8 [1]

[1] 8761e9736f
2019-03-01 17:14:18 +08:00
Mike Grima
1a36c0c377 IAM Role Tagging support 2019-01-31 17:37:26 -08:00
Steve Pulec
775b4bbc04
Merge branch 'master' into idna 2018-12-28 21:23:38 -05:00
Steve Pulec
8969941fbb
Merge pull request #1992 from TrevorEdwards/rmpyaml
Replace pyaml with PyYAML dependency
2018-12-28 21:20:13 -05:00
Steve Pulec
8ba1a09c0d
Merge pull request #1921 from adamdavis40208/cloudformation-validate-spike
Adding cloudformation-validate. Cfn-lint does the heavy lifting.
2018-12-28 20:39:00 -05:00
Steve Pulec
4dd4a5d451
Merge pull request #1927 from justin8/master
Update to jose 3.x
2018-12-28 20:17:01 -05:00
Steve Pulec
0c5010989a
Merge branch 'master' into jsondiff-1.1.2 2018-12-28 19:50:34 -05:00
Steve Pulec
3564321ae2
Merge pull request #1885 from jonafato/pypi-long-description
Add a long description to setup
2018-12-28 19:27:48 -05:00
sbkg0002
1ca8014697
Add idna version depencies. 2018-12-08 21:04:08 +01:00
Trevor Edwards
99afb38524 Replace pyaml with PyYAML dependency 2018-12-07 14:48:29 -08:00
Niko Eckerskorn
ed861ecae1 Loosen aws-xray-sdk requirements (#1948) 2018-11-15 07:29:05 +00:00
Justin Dray
4af9407ef4
Update to jose 3.x 2018-11-06 00:15:34 +00:00
adam davis
b66965e6e8 Adding cloudformation-validate. Cfn-lint does the heavy lifting. 2018-11-05 15:16:32 -08:00
Steve Pulec
90a62b5640 1.3.7 2018-11-04 17:30:44 -05:00
Jordan Guymon
8e909f580a MockAWS implementation using botocore event hooks 2018-10-29 09:12:22 +01:00
Illia Volochii
5ca68fbf06
Update jsondiff to 1.1.2 2018-10-26 22:12:26 +03:00
Jon Banafato
b4c44a820f Add a long description to setup
Include the readme as the `long_description` argument to `setup` and set
its content type appropriately. This allows PyPI to render the content
correctly.
2018-10-19 17:09:19 -04:00
Justin Eyster
8bdcc6244d Addresses security vulnerability in cryptography<2.3
Discovered using pipenv's security check feature that there's a vulnerability in the cryptography package versions<2.3.

> Checking installed package safety...
36351: cryptography >=1.9.0,<2.3 resolved (2.2.2 installed)!
python-cryptography versions >=1.9.0 and <2.3 did not enforce a minimum tag length for finalize_with_tag API. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.

More details here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10903
2018-09-24 16:09:12 -04:00
Steve Pulec
57f9691a52 Version 1.3.6 2018-09-22 17:28:49 -04:00
Steve Pulec
626113351d
Merge pull request #1835 from dhuang/remove-cookies-dep
Remove unused cookies dependency
2018-09-22 15:42:51 -04:00
Daniel Huang
4ffff9161e Remove unused cookies dependency 2018-09-20 11:23:20 -07:00
Matthew Neal
50f8d5e13c Pin boto3 version to 1.7.84
Pinning boto3 to this version would remove the mismatch between
boto3 and the botocore dependency in setup.py.

Closes #1800
2018-08-29 15:43:45 -04:00
Steve Pulec
c4b630e20f Version 1.3.5. 2018-08-29 08:44:03 -04:00
Steve Pulec
f7b039e787
Merge pull request #1794 from garyd203/1793-workaround
RFC: Change setup.py to require older version of botocore with compatible implementation
2018-08-29 08:42:07 -04:00
Gary Donovan
abc15f0ae8 Mitigate #1793 by restricting maximum version for botocore.
botocore v1.11.0 changed it's internal implementation so that it now
uses a different library for HTTP requests. This means that moto's
mocking will not work, and test code will inadvertently call the live
AWS service.

As an interim solution to reduce the impact of this breakage, we
restrict the "required" (ie. recommended) version of botocore so that
users will be less likely to use an incompatible version, and will
receive a pip warning when they do.
2018-08-27 17:29:55 +10:00
Jack Danger
ba9e795394
Version 1.3.4 (#1757)
* bumping to version 1.3.4

* updating changelog

* fixing generation of implementation coverage
2018-08-07 10:53:21 -07:00
Steve Pulec
4198abfd24
Merge pull request #1617 from jbergknoff-rival/jbergknoff/cognito
Implement some of cognito-idp
2018-05-30 20:23:11 -04:00
Steve Pulec
b5bdf6693c Require version of responses that supports callbacks. 2018-05-29 21:57:54 -04:00
jbergknoff-10e
e111cd1ff9 Implement some of cognito-idp 2018-05-07 09:38:04 -05:00
David Baumgold
04b36b4488 Allow dateutil below 3.0.0 2018-04-21 09:46:12 +02:00
Steve Pulec
7cc08a9c5c bumping to version 1.3.3 2018-04-18 18:40:32 -04:00
Jack Danger
3ac4532968
Version 1.3.2 (#1564)
* bumping to version 1.3.2

* Updating implementation coverage

* updating CHANGELOG
2018-04-12 14:37:00 -07:00
Steve Pulec
cd1c6d3e6c Unvendor responses, move back to upstream. 2018-04-05 16:57:43 -04:00
Mike Grima
4184acc0d2 Added Filtering support for S3 lifecycle (#1535)
* Added Filtering support for S3 lifecycle

Also added `ExpiredObjectDeleteMarker`.

closes #1533
closes #1479

* Result set no longer contains "Prefix" if "Filter" is set.
2018-04-02 14:19:14 -07:00
Jack Danger
5fe575b6ed
bumping to version 1.3.1 (#1530)
* bumping to version 1.3.1

* Updating implementation coverage
2018-03-22 11:28:32 -07:00
acrewdson
fceeb5d55f Allow older Jinja2 dep for project compatability (#1474)
In commit 4157abe8de, the Jinja2
dep in setup.py was changed from being unpinned to requiring version
2.8 or newer. That change was made in response to this issue:

    https://github.com/spulec/moto/issues/728

which pointed out that the use of 'lstrip_blocks' needed to
be supported. Support for that option was added in Jinja 2.7,
so it seems like the best option here, unless 2.8 is truly
required by moto, would be to allow Jinja 2.7.3 and newer --
preventing dep resolution conflicts in Python projects that pin
Jinja2 2.7.3 but also need to use moto.
2018-03-21 09:05:12 -07:00
Jack Danger
17f3758591
releasing version 1.3.0 (#1526)
* Adding CHANGELOG entry for 1.3.0

* bumping to version 1.3.0

* Updating implementation coverage
2018-03-21 09:01:22 -07:00
Iain Bullard
02ffce1a15 Tighten upper bound on python-dateutil to match botocore (#1519)
90d7692702
2018-03-21 08:50:14 -07:00
Steve Pulec
31eac49e15 Lock down version of aws-xray-sdk
See https://travis-ci.org/spulec/moto/jobs/350056229
2018-03-06 17:49:02 -05:00
Jack Danger
24fee6726a bumping version to 1.2.0 2018-01-10 15:29:22 -08:00
Jack Danger
1744f4340f bumping to version 1.1.25 2017-11-20 10:26:59 -08:00
Toshiya Kawasaki
0de2e55b13 Support iot and iot-data (#1303)
* append appropriate urls when scaffolding

* make dispatch for rest-api

* fix dispatch for rest-json

* fix moto/core/response to obtain path and body parameters

* small fixes

* remove unused import

* fix get_int_param

* Add features of things and thing-types

* fix scaffold

* basic crud of cert

* support basic CRUD of policy

* refactor

* fix formatting of scaffold

* support principal_pocicy

* support thing_principal

* update readme

* escape service to handle service w/ hyphen like iot-data

* escape service w/ hyphen

* fix regexp to extract region from url

* escape service

* Implement basic iota-data feature

* iot-data shadow delta

* update readme

* remove unused import

* remove comment

* fix syntax

* specify region when creating boto3 client for test

* use uuid for seed of generating cert id

* specify region_name to iotdata client in test

* specify region to boto3 client in moto response

* excude iot and iotdata tests on server mode

* fix handling of thingTypeName in describe-thing

* test if server is up for iot
2017-11-10 09:44:02 +00:00
Jack Danger
fc78e6fee8 bumping to version 1.1.24 2017-10-24 13:17:49 +02:00
Florent Rivoire
5c55119562 Do not freeze requirement aws-xray-sdk to a specific version (>= instead of ==) 2017-10-23 10:47:56 +02:00
Jack Danger
b286123425 bumping to version 1.1.23 (#1269) 2017-10-17 18:33:57 -07:00
Jack Danger
317dbbd1a3 requiring minimum botocore (#1268)
Boto and Boto3 can be a little old but Moto will throw an error if
botocoe doesn't even know about some of the services it supports.
As of this commit Polly is new enough some users are running into
exceptions.
2017-10-17 18:13:27 -07:00