Commit Graph

1872 Commits

Author SHA1 Message Date
Hossein Shafagh 2ff811ae71 updating cryptography API call, to create right signing algorithm object. 2019-04-13 00:57:48 +02:00
Hossein Shafagh 09796cf7c9 the check_cert_signature() method was attempting to compare RSA and ECC signatures.
If a ec public-key certificate is signed with an RSA key, then it can't be a self-signed certificate, in which case we just raise InvalidSignature.
2019-04-13 00:57:48 +02:00
Jose Plana 406753fcde Fix PEP8 2019-04-13 00:49:35 +02:00
Jose Plana a5570d07bc Added some documentation for API users. 2019-04-13 00:48:19 +02:00
Jose Plana c1b02cc8a5 Allow uploading csr along with certificates 2019-04-13 00:48:19 +02:00
Hossein Shafagh cf5b0145bd
Merge pull request #2754 from hosseinsh/re-update-190412
Updating requirements
2019-04-12 15:09:44 -07:00
Hossein Shafagh 9bdf48c1b9 updating requirements 2019-04-12 14:29:08 -07:00
Hossein Shafagh ad244fc83d Merge branch 'master' of github.com:Netflix/lemur into re-update-190412 2019-04-12 14:26:35 -07:00
Hossein Shafagh da51e7f31d removing the announcement 2019-04-12 14:24:29 -07:00
Hossein Shafagh f8a9ec6e3e simple hardcoded announcement 2019-04-12 14:24:29 -07:00
Hossein Shafagh 26e3982cb4
Merge pull request #2469 from hosseinsh/hshafagh-src-dst-register
Source and Destination registration
2019-04-12 09:25:25 -07:00
Hossein Shafagh 6d67ec7e34 removing unused import 2019-04-11 17:34:02 -07:00
Hossein Shafagh 512e1a0bdd fixing typos 2019-04-11 17:17:28 -07:00
Hossein Shafagh 6ec84a398c checking for None 2019-04-11 17:13:47 -07:00
Hossein Shafagh 69c00c4db5 upon creating a new destination, we also add it as source, if the plugin defines this as an option 2019-04-11 17:13:47 -07:00
Hossein Shafagh d7abf2ec18 adding a new util method for setting options 2019-04-11 17:13:47 -07:00
Hossein Shafagh 557fac39b5 refactoring the sync job into a service method that we can also call when adding a new destination 2019-04-11 17:13:47 -07:00
Hossein Shafagh d1ead4b79c removing the announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh 5900828051 simple hardcoded announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh 818da6653d removing the announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh e1a67e9b4e simple hardcoded announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh 84dfdd0600 removing the announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh ba691a26d4 simple hardcoded announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh b66fac0494 removing the announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh 1bda246df2 simple hardcoded announcement 2019-04-11 17:13:47 -07:00
Hossein Shafagh 9a210c055a
Merge branch 'master' into hshafagh-src-dst-register 2019-04-11 15:36:48 -07:00
Hossein Shafagh 81e2ff99ff
Merge pull request #2468 from hosseinsh/hosseinsh-celeryjob-sync-src-dst
Celery job for synching destinations and sources
2019-04-11 15:17:16 -07:00
Hossein Shafagh 2459234147 removing lines 2019-04-11 14:34:26 -07:00
Hossein Shafagh 60edab9f6d cleaning up 2019-04-11 14:12:31 -07:00
Hossein Shafagh ec3d2d7316 fixing typo 2019-04-11 13:51:43 -07:00
Hossein Shafagh 83d408b238
Merge branch 'master' into hosseinsh-celeryjob-sync-src-dst 2019-04-11 13:30:12 -07:00
Hossein Shafagh 266c83367d avoiding hard-coded plugin names 2019-04-11 13:29:37 -07:00
Hossein Shafagh f185df4f1e bringing class AWSDestinationPlugin(DestinationPlugin) after AWSSourcePlugin.slug, such that we can do: sync_as_source_name = AWSSourcePlugin.slug 2019-04-11 13:28:58 -07:00
Curtis 4dae8851d9
Merge pull request #2753 from castrapel/unpin_dependencies_py37
Update requirements - upgrade to py37
2019-04-10 16:28:19 -07:00
Curtis Castrapel 142aadffef Upgrade travis to xenial 2019-04-10 16:18:49 -07:00
Curtis Castrapel d3fbf46f7a Upgrade travis deps 2019-04-10 16:09:55 -07:00
Curtis Castrapel 2ff57e932c Update requirements - upgrade to py37 2019-04-10 15:40:48 -07:00
Hossein Shafagh d628e97035
Merge branch 'master' into hosseinsh-celeryjob-sync-src-dst 2019-04-10 09:47:06 -07:00
Hossein Shafagh bc8c7e114a
Merge branch 'master' into hshafagh-src-dst-register 2019-04-09 20:52:33 -07:00
Hossein Shafagh f3d0536800 removing hardcoded rules, to give more flexibility into defining new source-destinations 2019-04-09 20:49:07 -07:00
Hossein Shafagh 1c09712df0 removing the announcement 2019-04-09 10:09:32 -07:00
Hossein Shafagh 0cc98c378f simple hardcoded announcement 2019-04-09 10:09:32 -07:00
Hossein Shafagh 6fd7752b29 removing the announcement 2019-04-09 10:08:25 -07:00
Hossein Shafagh 70c8c2b5fc
Merge pull request #2750 from ardichoke/vault_kv2
Add support for Vault KV API v2
2019-04-09 08:25:28 -07:00
Hossein Shafagh 2c82708391 simple hardcoded announcement 2019-04-04 12:12:29 -07:00
Ryan DeShone e10007ef7b Add support for Vault KV API v2
This adds the ability to target KV API v1 or v2.
2019-03-29 10:32:49 -04:00
Hossein Shafagh d2e969b836 better synching of source and destinations 2019-03-26 18:20:14 -07:00
Curtis a865675537
Merge pull request #2746 from castrapel/authority_validation_LE_errors
Add order URI during LE cert creation failure; Fail properly when inv…
2019-03-25 08:58:12 -07:00
Curtis 4018c68d49
Merge branch 'master' into authority_validation_LE_errors 2019-03-25 08:34:10 -07:00
Curtis Castrapel c2158ff8fb Add order URI during LE cert creation failure; Fail properly when invalid CA passed; Update reqs 2019-03-25 08:28:23 -07:00