You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
1
# Python KSeF Authentication Library (for PKCS#11 and local private keys)
2
2
3
-
> [!NOTE]
4
-
> PL: Biblioteka do języka Python obsługująca logowanie do KSeF z użyciem dowolnego klucza prywatnego obsługującego interfejs PKCS#11 – kwalifikowane podpisy i pieczęci elektroniczne (na karcie, tokenie USB lub w formie HSM), a także certyfikaty wydane przez KSeF, do których klucze prywatne przechowywane są na HSMie (np. YubiHSM, YubiKey, Google Cloud KMS). Obsługuje również klasyczne uwierzytelnianie kluczem przechowywanym lokalnie na dysku twardym w pliku `.key` (format PEM).
3
+
## (PL) Opis
5
4
6
-
Supported features:
5
+
Biblioteka do Pythona implementująca logowanie do Krajowego Systemu e-Faktur (KSeF) z użyciem dowolnego klucza prywatnego obsługującego interfejs PKCS#11.
6
+
Obsługuje kwalifikowane podpisy i pieczęci elektroniczne w dowolnej postaci (na karcie, tokenie USB lub w formie HSM), a także certyfikaty wydane przez KSeF, do których klucze prywatne przechowywane są na HSMie (np. YubiHSM, YubiKey, Google Cloud KMS). Biblioteka wspiera również klasyczne uwierzytelnianie kluczem przechowywanym lokalnie na dysku twardym w pliku `.key` (format PEM).
7
+
8
+
9
+
## Supported features
7
10
8
11
* Authentication using private keys available through PKCS#11 interface:
9
12
* Qualified signature or qualified seal issued on a physical device,
@@ -293,10 +296,12 @@ ksef_auth_file \
293
296
294
297
## Troubleshooting
295
298
296
-
If you see the following exception even though the DLL physically exists at the path indicated:
299
+
In case if you see the following exception even though the DLL physically exists at the path indicated:
297
300
298
301
```
299
302
pkcs11.exceptions.PKCS11Error: OS exception while loading <file path>.dll: The specified module could not be found.
300
303
```
301
304
302
-
please check if your `PATH` environment variable is set correctly. Your PKCS#11 DLL might depend on some auxiliary DLLs that are unavailable.
305
+
Please check if your `PATH` environment variable is set correctly. The error is actually due to the fact that your PKCS#11 DLL tries to load other DLLs that couldn't be located within the `PATH`.
306
+
307
+
If your PKCS#11 library comes with other required DLL files that are all hosted within the same directory, it is going to help when you add the directory of your PKCS#11 library to `PATH` environment variable.
help="Output type. For 'list' will output a list of certificates and private keys available with certain PKCS#11 token. For 'certificates' it will dump all available certificates in the PEM format.")
42
+
help="Output type. For 'list' will output a list of certificates and private keys available "
43
+
"with certain PKCS#11 token. For 'certificates' it will dump all available certificates "
0 commit comments