Commit Graph

110 Commits

Author SHA1 Message Date
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
Bert Blommers
85156f5939
KMS: encrypt() now validates payloads that are too large (#7102) 2023-12-08 20:58:49 -01:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
fa9aa95156
KMS: sign/verify should use the original message, not the base64-encoded version (#6795) 2023-09-09 09:57:39 +00:00
Brett Buford
a8ab8011ed
KMS: Return proper metadata when replicating a key (#6788) 2023-09-08 15:23:09 +00:00
Akira Noda
417ccbd54a
KMS: Add fail cases for testing verification of RSA Signing algorithms (#6738) 2023-08-28 18:39:50 +00:00
Akira Noda
f0b8fedd84
KMS: Add signing by ECDSA Private key (#6737) 2023-08-28 13:12:01 +00:00
Akira Noda
866c28a309
KMS: Add RSASSA_PKCS1_V1_5_SHA_256, 384, 512 signing algorithms (#6729) 2023-08-26 07:18:00 +00:00
Akira Noda
fedca69991
KMS: Add fail test cases for signing algorithms of RSA (#6728) 2023-08-26 07:16:51 +00:00
Akira Noda
6a1a5ca5a2
KMS: add RSASSA_PSS_SHA_384 and RSASSA_PSS_SHA_512 signing algorithm (#6711) 2023-08-24 07:52:11 +00:00
Akira Noda
78c518ddc8
KMS: Support 3072 and 4098 key sizes for RSA (#6708) 2023-08-21 18:07:12 +00:00
Akira Noda
0d75cdc38b
KMS: Add RSASSA_PSS_SHA_256 private key (#6702) 2023-08-20 14:32:26 +00:00
Akira Noda
5e1b166f25
KMS: refactoring signing_algorithms property (#6700) 2023-08-19 20:49:45 +00:00
Akira Noda
27f025320a
KMS: Validate key specs (#6630)
* validate key specs

* fix failed tests

* add unittests

* fix typo

---------

Co-authored-by: Akira Noda <akira.noda@onecareer.com>
2023-08-19 10:53:54 +00:00
Akira Noda
a35403714b
KMS: Add SM2DSA signing algorithms (#6609) 2023-08-07 16:49:26 +00:00
Bert Blommers
b11a693b11
Techdebt: Replace sure with regular assertions in KMS (#6590) 2023-08-02 09:41:44 +00:00
sercan tor
ae11c02593
KMS: add get_public_key (#6222) 2023-04-17 19:59:33 +00:00
Joseph Eichenhofer
267509413e
KMS - implement KeyId parameter for ListAliases (#5991) 2023-02-27 14:43:43 -01:00
Bert Blommers
5d87085435
KMS: re_encrypt() should accept alias (#5969) 2023-02-24 13:54:17 -01:00
Bert Blommers
11e2120046
KMS: encrypt() should allow an alias as argument (#5959) 2023-02-22 10:22:37 -01:00
Brendan Keane
180b0b902f
KMS: Add TargetKeyId to default kms key alias response. (#5805) 2023-01-11 19:43:48 -01:00
Bert Blommers
42d8216623
Techdebt: KMS: Mock RSA calls in some tests (#5782) 2022-12-17 20:35:07 -01:00
Bert Blommers
137f06b55e
KMS: Basic key policy enforcement (#5777) 2022-12-16 20:47:38 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
4f84e2f154
TechDebt - enable pylint rule redefined-outer-scope (#5518) 2022-10-04 16:28:30 +00:00
Giorgio Ruffa
6232ccfa57
KMS: revoke grant raises NotFound (#5410) 2022-08-24 10:48:37 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
taras-kobernyk-localstack
9d26ec7422
KMS : Adding support for multi-region keys and implementing replicate_key API. (#5288) 2022-07-27 06:30:41 -03:00
José Coelho
727bc2ba0a
Improve test coverage of KMS sign and verify (#5251) 2022-06-23 09:45:07 +00:00
José Coelho
25aad70481
Add KMS Sign/Verify (#5243) 2022-06-21 17:18:51 +00:00
Bert Blommers
a2c2c06243
Techdebt - Align models-responses integration for all services (#5207) 2022-06-09 17:40:22 +00:00
Aidan Goldthorpe
0200e2aac7
Bug fix for selecting KMS key via alias ARN (#5182) 2022-06-06 10:57:28 +00:00
Bert Blommers
63124668db
Prepare release 3.1.12 (#5191) 2022-06-04 11:48:38 +00:00
Bert Blommers
898f0928a4
KMS - add Grants API (#5177) 2022-05-27 22:11:09 +00:00
Bert Blommers
d60df32a25
Upgrade flake8 to 4.x (#5066) 2022-04-27 11:58:59 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Macwan Nevil
5771dcf73b
fixed default kms keys;fixed object locking exception (#4385) 2021-10-26 09:57:58 +00:00
Bert Blommers
9a55ed717f
KMS - Validate plaintext-parameter for length (#4441) 2021-10-19 16:50:12 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
65dd0f1660
KMS - duplicate boto tests (#3916) 2021-09-22 20:37:03 +00:00
stromp
097a260dce
Fixes issue #4312 (#4323) 2021-09-22 16:35:50 +00:00
Bert Blommers
c0853aa99d
KMS - CreateKey without desc should return empty desc (#4305) 2021-09-18 21:12:18 +00:00
Bert Blommers
7acdfe4feb
Introduce Pylint to check for duplicate test method names (#3684) 2021-08-21 16:33:15 +01:00
Anton Grübel
788b8e617d
Update ecr (#4128)
* Add ecr.list_tags_for_resource

* Add ecr.tag_resource

* Add ecr.untag_resource

* Add default KMS key policy, if not specified
2021-08-03 16:21:15 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Brian Pandola
cd044ef00b
Remove redundant test code (#3640)
These tests, when run, do not execute any `moto` code. They fail the
parameter validation check in `botocore`, which raises an exception
before ever sending a request.  These tests do not cover or verify
any `moto` behavior and have been removed.
2021-01-31 12:21:24 +00:00
Bert Blommers
273ca63d59 Linting 2020-11-11 15:55:37 +00:00