Skip to content

Commit 7cf2b4b

Browse files
committed
remove deprecated backend wiring
1 parent 2d01721 commit 7cf2b4b

File tree

1 file changed

+0
-2
lines changed
  • airbyte_cdk/sources/declarative/auth

1 file changed

+0
-2
lines changed

airbyte_cdk/sources/declarative/auth/jwt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from typing import Any, Mapping, Optional, Union, cast
1010

1111
import jwt
12-
from cryptography.hazmat.backends import default_backend
1312
from cryptography.hazmat.primitives import serialization
1413
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKey
1514
from cryptography.hazmat.primitives.asymmetric.ed448 import Ed448PrivateKey
@@ -179,7 +178,6 @@ def _get_secret_key(self) -> JwtKeyTypes:
179178
private_key = serialization.load_pem_private_key(
180179
secret_key.encode(),
181180
password=self._passphrase.eval(self.config, json_loads=json.loads).encode(),
182-
backend=default_backend(),
183181
)
184182
return cast(JwtKeyTypes, private_key)
185183
else:

0 commit comments

Comments
 (0)