theca 2.0.2__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: theca
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Python library to run your own private CA.
5
5
  Home-page: https://devnull.cn
6
6
  Author: Xizhen Du
7
7
  Author-email: xizhendu@gmail.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
- Requires-Dist: requests
10
+ Requires-Dist: requests~=2.31.0
11
11
  Requires-Dist: theid
12
12
 
13
13
  # theca-sdk-python
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='theca',
5
- version='2.0.2',
5
+ version='2.0.3',
6
6
  author='Xizhen Du',
7
7
  author_email='xizhendu@gmail.com',
8
8
  url='https://devnull.cn',
@@ -11,7 +11,7 @@ setup(
11
11
  description='Python library to run your own private CA.',
12
12
  # packages=['thedns'],
13
13
  install_requires=[
14
- "requests",
14
+ "requests~=2.31.0",
15
15
  "theid"
16
16
  ]
17
17
  )
@@ -67,7 +67,8 @@ def _create_ca(request_headers=None):
67
67
  def _create_cert(request_headers=None, common_names=None):
68
68
  payload = json.dumps({
69
69
  'action_type': 'create',
70
- 'cert_type': 'common_sans',
70
+ # 'cert_type': 'common_sans',
71
+ 'cert_type': 'common',
71
72
  'common_names': common_names
72
73
  })
73
74
  response = requests.post('https://devnull.cn/pca', headers=request_headers, data=payload)
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: theca
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Python library to run your own private CA.
5
5
  Home-page: https://devnull.cn
6
6
  Author: Xizhen Du
7
7
  Author-email: xizhendu@gmail.com
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
- Requires-Dist: requests
10
+ Requires-Dist: requests~=2.31.0
11
11
  Requires-Dist: theid
12
12
 
13
13
  # theca-sdk-python
@@ -0,0 +1,2 @@
1
+ requests~=2.31.0
2
+ theid
@@ -1,2 +0,0 @@
1
- requests
2
- theid
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes