Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.3.0 #72

Merged
merged 69 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
3ee9278
Merge branch 'master' into develop
hbldh Jul 8, 2021
3ce57aa
Update README.rst
dotchetter Nov 15, 2021
b70c83a
Merge pull request #41 from dotchetter/develop
hbldh Nov 16, 2021
3fcb447
Update __init__.py
cthart May 4, 2023
dfbb035
Merge branch 'master' into develop
hbldh May 5, 2023
92ee2a8
Merge pull request #48 from cthart/patch-3
hbldh May 5, 2023
27ea5e1
Github Action fixes
hbldh May 5, 2023
5390eda
Version bump
hbldh May 5, 2023
bd831f9
Bump reqs for example
hbldh May 5, 2023
8e513f4
Bundle the BankID Test certificate
hbldh May 5, 2023
18888ab
Failure detection in openssl test cert conversion
1sfb May 6, 2023
3b12c35
Add possibility to provide p12 test cert through existing file
1sfb May 6, 2023
dccb096
Bundle the BankID Test certificate in pem format
hbldh May 7, 2023
939a8a1
Merge branch 'develop' into master
hbldh May 7, 2023
636ac44
Merge pull request #50 from 1sfb/master
hbldh May 7, 2023
91f9b26
Python 2.7 compat. fix
hbldh May 7, 2023
873e495
Rmoving certutils test for the time being
hbldh May 7, 2023
ba592d4
Remove Python 2.7 support
hbldh May 7, 2023
52e33f7
Remove six dependency
hbldh May 7, 2023
cab407b
Merge branch 'master' into develop
hbldh Dec 15, 2023
b742236
Async client using httpx (#55)
tiwilliam Dec 15, 2023
c5b5c6b
Add support for RP v6.0
mxamin Jan 18, 2024
a286ee3
Merge pull request #58 from mxamin/add-jsonclient-v6
hbldh Mar 21, 2024
cf9ec7a
First draft of v6 clients
hbldh Mar 21, 2024
024b7cb
Corrected the example app to work with v1.0.0
hbldh Mar 22, 2024
beb4e0c
Documentation update
hbldh Mar 22, 2024
77626a9
Cleanup before PR
hbldh Mar 22, 2024
8e6c1a6
Remove .vscode folder
hbldh Mar 22, 2024
e1d77b3
Minor doc change
hbldh Mar 22, 2024
696d89e
Updated README.rst
hbldh Mar 22, 2024
3a5dda7
CI changes
hbldh Mar 22, 2024
65dd435
Upgrading CI action versions
hbldh Mar 22, 2024
cba58a6
Implemented phone/auth and phone/sign
hbldh Mar 22, 2024
178f84e
Update certutils.py
cthart Apr 3, 2024
4913557
Expose QR code helper explicitly.
Majsvaffla Apr 8, 2024
46a8447
Update README.rst - use pytest instead of py.test
pelme Apr 12, 2024
4392874
Merge pull request #62 from hbldh/generate-qr-code-util
hbldh Apr 12, 2024
f63f9be
Merge branch 'develop' into patch-1
hbldh Apr 12, 2024
890e287
Merge pull request #63 from pelme/patch-1
hbldh Apr 12, 2024
632ff39
Version 1.0.1 - Docfix and QR method separate
hbldh Apr 12, 2024
b4773ab
Cache ip addresses in test suite.
pelme Apr 15, 2024
6380923
Merge branch 'master' into develop
hbldh Apr 15, 2024
296d250
Use builtin importlib.resources.
pelme Apr 15, 2024
151d30b
Documentation updates
hbldh Apr 15, 2024
c0c8158
Merge pull request #65 from pelme/ip-address-cache
hbldh Apr 15, 2024
4beaca3
Merge branch 'develop' into builtin-importlib-resources
hbldh Apr 15, 2024
43f1245
Merge pull request #66 from pelme/builtin-importlib-resources
hbldh Apr 15, 2024
adcd2be
Dropping use of httpbin for external ip
hbldh Apr 15, 2024
fafa06b
Merge pull request #61 from cthart/patch-4
hbldh Apr 15, 2024
11b4c85
Fix for async test
hbldh Apr 15, 2024
7ea31e1
Add mypy to dev deps.
Majsvaffla Apr 16, 2024
06213ae
mypy --install-types
Majsvaffla Apr 16, 2024
aed72c6
Drop duplicate method.
Majsvaffla Apr 16, 2024
63e2c33
Fix type errors and add type annotations.
Majsvaffla Apr 16, 2024
0938ecd
Add type checking to CI.
Majsvaffla Apr 16, 2024
aa4d46c
Add CONTRIBUTING.md
Majsvaffla Apr 16, 2024
84558c6
Merge pull request #67 from hbldh/mypy
hbldh Apr 17, 2024
ccaa74c
Merge branch 'master' into develop
hbldh Apr 24, 2024
dde93ec
Attempted fix of importlib
hbldh Apr 29, 2024
0c63e65
Removed walrus operator
hbldh Apr 29, 2024
9f490c1
Fix for mypy in 3.7 and 3.8
hbldh Apr 29, 2024
9b71945
Another attempt to fix mypy
hbldh Apr 29, 2024
0dba57f
Another attempt to fix mypy number 2
hbldh Apr 29, 2024
dcf4c6a
Update test certificates
Jul 3, 2024
731e369
Merge pull request #71 from dunderrrrrr/update-bankid-certs
hbldh Aug 23, 2024
8094c80
Using new test certs and removing old ones
hbldh Aug 23, 2024
5a68ddd
Fixed pem cert and key
hbldh Aug 23, 2024
f3f1276
Merge branch 'master' into develop
hbldh Aug 23, 2024
af1a45a
Version bump
hbldh Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bankid/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Version info
"""

__version__ = "1.2.0"
__version__ = "1.3.0"
version = __version__ # backwards compatibility name
Binary file removed bankid/certs/FPTestcert4_20220818.p12
Binary file not shown.
34 changes: 0 additions & 34 deletions bankid/certs/FPTestcert4_20220818_cert.pem

This file was deleted.

31 changes: 0 additions & 31 deletions bankid/certs/FPTestcert4_20220818_key.pem

This file was deleted.

Binary file removed bankid/certs/FPTestcert4_20230629.p12
Binary file not shown.
32 changes: 0 additions & 32 deletions bankid/certs/FPTestcert4_20230629_cert.pem

This file was deleted.

31 changes: 0 additions & 31 deletions bankid/certs/FPTestcert4_20230629_key.pem

This file was deleted.

Binary file added bankid/certs/FPTestcert5_20240610-legacy.pfx.pfx
Binary file not shown.
Binary file added bankid/certs/FPTestcert5_20240610.p12
Binary file not shown.
66 changes: 66 additions & 0 deletions bankid/certs/FPTestcert5_20240610.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
Bag Attributes
localKeyID: 0D BD D8 B5 3E 15 A0 F1 F6 25 9E 9B D6 01 A6 0B 0F BB DC 5C
subject=C = SE, O = Testbank A AB (publ), serialNumber = 5566304928, name = Test av BankID, CN = FP Testcert 5
issuer=C = SE, O = Testbank A AB (publ), serialNumber = 111111111111, CN = Testbank A RP CA v1 for BankID Test
-----BEGIN CERTIFICATE-----
MIIEyjCCArKgAwIBAgIIG8/maByOzV4wDQYJKoZIhvcNAQELBQAwcTELMAkGA1UE
BhMCU0UxHTAbBgNVBAoMFFRlc3RiYW5rIEEgQUIgKHB1YmwpMRUwEwYDVQQFEwwx
MTExMTExMTExMTExLDAqBgNVBAMMI1Rlc3RiYW5rIEEgUlAgQ0EgdjEgZm9yIEJh
bmtJRCBUZXN0MB4XDTI0MDcwMjIyMDAwMFoXDTI5MDUyODIxNTk1OVowcjELMAkG
A1UEBhMCU0UxHTAbBgNVBAoMFFRlc3RiYW5rIEEgQUIgKHB1YmwpMRMwEQYDVQQF
Ewo1NTY2MzA0OTI4MRcwFQYDVQQpDA5UZXN0IGF2IEJhbmtJRDEWMBQGA1UEAwwN
RlAgVGVzdGNlcnQgNTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANwG
Te3TokhAIefirshdT4vGAhoVLi04zgizezOWTbGp7ll6Jj41VFFg2AnmwajhvIO4
zxQVgDeHaalTSbknpXQK5kBNwLYHxwfQvQ80Qi/w5lq88WUSbF9XKeAkiOlePOvR
iW2y+dUATKKL1HwFrMDnILhm2UXMI4eNLRj/j3nkC75hZWn0XlrQiJgeXpRPhP22
Fo8LdnV0VowHhosZtxt3rbAjsD/If854GRDusIM9wiR0tWiYYGlPNjoRqoHFqDD3
QLUJgKEQXdqCZmM2+QY0m/bAc++TUJpdPsqetGHx9NhtAb0oF0NKWBkiBgNiZ2xb
lw17vq+ZSK2AbJPOUOECAwEAAaNlMGMwEQYDVR0gBAowCDAGBgQqAwQFMA4GA1Ud
DwEB/wQEAwIHgDAfBgNVHSMEGDAWgBTiuVUIvGKgRjldgAxQSpIBy0zvizAdBgNV
HQ4EFgQUgZHajGxfxKgmJv9TPTr+SMh51X4wDQYJKoZIhvcNAQELBQADggIBACXY
y4NregbhFckEEJG7E7cTjSDXWrwCbZ4SToxa0JdYMEBoy/FkMi+UVcWBpTLHOvpu
GSBCv9vpAKYOqclt9jAa0T/mLSb7R5Zm0YVU1LeP4sYJsxauoPyA9wc49rb64qk+
vGkzZD8YV/Jsb/SbMM3JujFCRLVedHtonY+8xFBec/3SrTVcys8KO897WwRU/5UN
dOnJCtp7e6lSOzFIsvutoaNIsEZq7kVDikQ3EgXsB0Cxol4/CLTGLae0znzWRAxn
2pAusNmzInXCjTx57o4+KT5yhjqNIm9ra9XKqGBEqEayFOb2XMD59DelhXb6sX87
H1yrtMSsKEginq0WZ7BBdZ57BuNA/X8YIKMT0UATA5zoAH+QEGXe2fjfPsvYx5Y6
D7y2i9GgfyLXbToxMufYnU9MtZuV6ZjW0E32+NRJvtkNVziDHH6/eNx32LLIP0X5
+J6Ge2gLRnYT3hkKZKxtwR5TEoDCMjvmXTFQifdSjYC0hOn9oLXnjg2ZtQremCym
3emqINt7LXTXb6qSscD5ZsTAkDqJ5WVgPLMimf8iHhvtTLvQE9b8c+FH6o1qzvV2
YnzfYGANQU2VUwN3jR8IfIAw/4kwgDURQQkgoqEq1JFowv7L2h//of5dOO7SCHuv
gH7GxzJbDS4wssRFBHZGpVgK6ZjyPmfemU/MuEnm
-----END CERTIFICATE-----
Bag Attributes
localKeyID: 0D BD D8 B5 3E 15 A0 F1 F6 25 9E 9B D6 01 A6 0B 0F BB DC 5C
Key Attributes: <No Attributes>
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFLTBXBgkqhkiG9w0BBQ0wSjApBgkqhkiG9w0BBQwwHAQIBlejBN0MfycCAggA
MAwGCCqGSIb3DQIJBQAwHQYJYIZIAWUDBAEqBBDI8vnCSzlvchV9XWHNfpP+BIIE
0Mz4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jf2x6Rk3RAbu58B54HqdPI2U16G/z0fzLsUQs8l7
sC0vs7Tt8jcIa+ZEX7M1RZLJBLQwrkQiQ3bG/QVVXlmBMGTUx8P0894B2QXOq3Hj
f/wcuH+Ct5tMYP+RofGAHn4p3N4hvgJHbVLRw3272GABGql4N9r0DUcFpBinPKrh
SMdBQHmIcEtXHuKWQ2O+TBURQC43H60q0urQyoUTWR5dsMQ4CVEZ/SMevwzOF6Yt
t7i70gy5Xfr2pXNgZg8tCANOgdddkwXw9KLGbqEQe0hUCnLFinKYuOeZOVcbtFfP
d6O/vu4X6phDYMR7prrz3lrt3N4251Q0cc/dXQlD0nEJVUl27ZZW+BRNPzOS9bW6
whH73Yqr6fNKUmySCpoOGDp4bGYnhTqTtFXugggCg3GS6R2giEwBd6JJebQAaEGU
j9BvK9bvq91XdONb5EzRBNajKX4CbvwvFWimqCL7b2lx72YH35lgxtqNdFcNlMkn
iF4/H9WKBTg8NHvJpkd1Mvu0Po8rfCPLL7A99kbCuzA3aySOXZtF2STpWTcTrN6K
p/GTGwNkdVmTJTbseFFXWLU09l3RnX46t3xa5S0kBvpc
-----END ENCRYPTED PRIVATE KEY-----

32 changes: 32 additions & 0 deletions bankid/certs/FPTestcert5_20240610_cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Bag Attributes
localKeyID: 0D BD D8 B5 3E 15 A0 F1 F6 25 9E 9B D6 01 A6 0B 0F BB DC 5C
subject=C = SE, O = Testbank A AB (publ), serialNumber = 5566304928, name = Test av BankID, CN = FP Testcert 5
issuer=C = SE, O = Testbank A AB (publ), serialNumber = 111111111111, CN = Testbank A RP CA v1 for BankID Test
-----BEGIN CERTIFICATE-----
MIIEyjCCArKgAwIBAgIIG8/maByOzV4wDQYJKoZIhvcNAQELBQAwcTELMAkGA1UE
BhMCU0UxHTAbBgNVBAoMFFRlc3RiYW5rIEEgQUIgKHB1YmwpMRUwEwYDVQQFEwwx
MTExMTExMTExMTExLDAqBgNVBAMMI1Rlc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usNmzInXCjTx57o4+KT5yhjqNIm9ra9XKqGBEqEayFOb2XMD59DelhXb6sX87
H1yrtMSsKEginq0WZ7BBdZ57BuNA/X8YIKMT0UATA5zoAH+QEGXe2fjfPsvYx5Y6
D7y2i9GgfyLXbToxMufYnU9MtZuV6ZjW0E32+NRJvtkNVziDHH6/eNx32LLIP0X5
+J6Ge2gLRnYT3hkKZKxtwR5TEoDCMjvmXTFQifdSjYC0hOn9oLXnjg2ZtQremCym
3emqINt7LXTXb6qSscD5ZsTAkDqJ5WVgPLMimf8iHhvtTLvQE9b8c+FH6o1qzvV2
YnzfYGANQU2VUwN3jR8IfIAw/4kwgDURQQkgoqEq1JFowv7L2h//of5dOO7SCHuv
gH7GxzJbDS4wssRFBHZGpVgK6ZjyPmfemU/MuEnm
-----END CERTIFICATE-----
28 changes: 28 additions & 0 deletions bankid/certs/FPTestcert5_20240610_key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDcBk3t06JIQCHn
4q7IXU+LxgIaFS4tOM4Is3szlk2xqe5ZeiY+NVRRYNgJ5sGo4byDuM8UFYA3h2mp
U0m5J6V0CuZATcC2B8cH0L0PNEIv8OZavPFlEmxfVyngJIjpXjzr0YltsvnVAEyi
i9R8BazA5yC4ZtlFzCOHjS0Y/4955Au+YWVp9F5a0IiYHl6UT4T9thaPC3Z1dFaM
B4aLGbcbd62wI7A/yH/OeBkQ7rCDPcIkdLVomGBpTzY6EaqBxagw90C1CYChEF3a
gmZjNvkGNJv2wHPvk1CaXT7KnrRh8fTYbQG9KBdDSlgZIgYDYmdsW5cNe76vmUit
gGyTzlDhAgMBAAECggEAa/x4IOJ+wmEfgvShfds2IE6lV3HPwQghLuoP7Ii3Rxw0
zBuES4HXCT2zqmBj6eQopql8kMngrOA7/ovPIh2QObzjtumyTGTSzUYolB684VSl
aiFThJyfLcfU2Jp1y7u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AE4tWakPJZYyV1aVIZWaE/PRbla
KoQXAAs3i65s8WpO2DEzotFN
-----END PRIVATE KEY-----
6 changes: 3 additions & 3 deletions bankid/certs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@


def get_test_cert_p12() -> Path:
return (Path(__file__).parent / "FPTestcert4_20230629.p12").resolve()
return (Path(__file__).parent / "FPTestcert5_20240610.p12").resolve()


def get_test_cert_and_key() -> Tuple[Path, Path]:
return (
(Path(__file__).parent / "FPTestcert4_20230629_cert.pem").resolve(),
(Path(__file__).parent / "FPTestcert4_20230629_key.pem").resolve(),
(Path(__file__).parent / "FPTestcert5_20240610_cert.pem").resolve(),
(Path(__file__).parent / "FPTestcert5_20240610_key.pem").resolve(),
)