Skip to content

Commit 0c203fc

Browse files
committed
fix README.md example
1 parent 4e47168 commit 0c203fc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Supported features:
77
* KSeF Certificate hosted on a HSM (e.g. YubiHSM, YubiKey, Google Cloud KMS).
88
* Authentication using certificate and private key stored as PEM files on local hard disk.
99

10-
## CLI Usage
11-
1210
```commandline
1311
pip3 install pyksef
1412
```
1513

14+
## CLI Usage
15+
1616
### List available PKCS#11 tokens
1717
Command:
1818
```bash
@@ -130,9 +130,8 @@ print(res)
130130
### Authentication with private key on local disk
131131

132132
```python
133-
from cryptography.x509 import load_pem_x509_certificate
134-
135133
from pyksef import ksef_auth_xades, PEMPrivateKey, SubjectIdentifierType
134+
from pyksef.x509 import load_pem_x509_certificate
136135

137136
PROD_API_BASE_URL = "https://api.ksef.mf.gov.pl/v2"
138137

0 commit comments

Comments
 (0)