cosmian-kms 4.19.3__cp37-abi3-manylinux_2_34_x86_64.whl → 4.20.1__cp37-abi3-manylinux_2_34_x86_64.whl

Sign up to get free protection for your applications and to get access to all the features.
cosmian_kms/__init__.pyi CHANGED
@@ -101,12 +101,13 @@ class KmsClient:
101
101
  """
102
102
 
103
103
  def create_cover_crypt_master_key_pair(
104
- self, policy: Union[Policy, bytes]
104
+ self, policy: Union[Policy, bytes, bool], sensitive: bool = False
105
105
  ) -> Future[Tuple[str, str]]:
106
106
  """Generate the master authority keys for supplied Policy.
107
107
 
108
108
  Args:
109
- policy (Union[Policy, str]): policy used to generate the keys
109
+ policy (Union[Policy, str, bool]): policy used to generate the keys
110
+ sensitive (bool): whether the key is sensitive
110
111
 
111
112
  Returns:
112
113
  Future[Tuple[str, str]]: (Public key UID, Master secret key UID)
@@ -281,6 +282,7 @@ class KmsClient:
281
282
  self,
282
283
  access_policy: str,
283
284
  master_secret_key_identifier: str,
285
+ sensitive: bool = False,
284
286
  tags: Optional[str] = None,
285
287
  ) -> Future[str]:
286
288
  """Generate a user secret key.
@@ -289,6 +291,7 @@ class KmsClient:
289
291
  Args:
290
292
  access_policy(str): user access policy
291
293
  master_secret_key_identifier (str): master secret key UID
294
+ sensitive (bool): whether the key is sensitive
292
295
  tags (Optional[List[str]]): optional tags to use with the keys
293
296
 
294
297
  Returns:
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cosmian_kms
3
- Version: 4.19.3
3
+ Version: 4.20.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,9 +1,9 @@
1
- cosmian_kms-4.19.3.dist-info/METADATA,sha256=-tWwvIlgffUY2z6Cs42q2xSfqw6RBPepf8LkRjUecYQ,1263
2
- cosmian_kms-4.19.3.dist-info/WHEEL,sha256=_YJd0er71EfeXRLuvhF-_nxPqoUcuWh962x8zWv1JC8,106
1
+ cosmian_kms-4.20.1.dist-info/METADATA,sha256=nzYaKNumpHaJFklghRGlX6i9n1j_hCt0OwOPlnNADHE,1263
2
+ cosmian_kms-4.20.1.dist-info/WHEEL,sha256=_YJd0er71EfeXRLuvhF-_nxPqoUcuWh962x8zWv1JC8,106
3
3
  cosmian_kms.libs/libcrypto-a9bc086e.so.1.1,sha256=KZq7UvlgcXm6MU0fDjd5X1p6IS59r0S8VbFYkObSWjY,3087816
4
4
  cosmian_kms.libs/libssl-5ca16b9d.so.1.1,sha256=7KJsrZASUeSycRqvpQMF-zyaIhOcgNHW_g1LLwlo6cY,646120
5
5
  cosmian_kms/__init__.py,sha256=RFE0iC3agi76L3Tu7aW_qHBzcFMZ-w-In6lPnZpPPL8,350
6
- cosmian_kms/__init__.pyi,sha256=j6PBX789uUqFLm_v-1GT-YAgSQ9ODQ3YqOUF3RzDxRU,15602
6
+ cosmian_kms/__init__.pyi,sha256=qc6RxPcghHMI48esOFWHHWLuzN3yJLQ1g_OnTngIE9I,15790
7
7
  cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
8
- cosmian_kms/cosmian_kms.abi3.so,sha256=g7w6-DX3gD2G8kd2gqlRZIlRCbyTO_IGsMdRkd6hGzU,4760336
9
- cosmian_kms-4.19.3.dist-info/RECORD,,
8
+ cosmian_kms/cosmian_kms.abi3.so,sha256=uQpZxNsDwDNNdeRTm38hqVvFTub9bz3oGl2ZzFWM-3U,5284696
9
+ cosmian_kms-4.20.1.dist-info/RECORD,,