Skip to content

Commit 9d5d7c3

Browse files
committed
Update to Python 3.11 and update dependencies
partly based on changes suggested in CooperRS#14
1 parent 2b71b60 commit 9d5d7c3

File tree

3 files changed

+54
-52
lines changed

3 files changed

+54
-52
lines changed

Pipfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ name = "pypi"
66
[dev-packages]
77

88
[packages]
9-
rncryptor = "==3.2.0"
10-
bpylist = "==0.1.4"
11-
click = "==6.7"
9+
rncryptor = "==3.3.0"
10+
bpylist2 = "4.0.1"
11+
click = "==8.1.3"
1212
pyqrcode = "==1.2.1"
13-
pycryptodome = "==3.9.1"
13+
pycryptodome = "==3.17.0"
1414

1515
[requires]
16-
python_version = "3.7"
16+
python_version = "3.11"

Pipfile.lock

+46-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

decrypt_otpauth.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
import pyqrcode
1010

11-
from bpylist import archiver
12-
from bpylist.archive_types import uid
11+
from bpylist2 import archiver
12+
from plistlib import UID
1313

1414
from Crypto.Cipher import AES
1515

@@ -179,7 +179,7 @@ def decode_object(self, index):
179179
return raw_obj
180180

181181
class_uid = raw_obj.get('$class')
182-
if not isinstance(class_uid, uid):
182+
if not isinstance(class_uid, UID):
183183
raise archiver.MissingClassUID(raw_obj)
184184

185185
klass = self.class_for_uid(class_uid)

0 commit comments

Comments
 (0)