Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Sep 18, 2023
1 parent 02d9ad9 commit 1e90cf5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This module allows to use a [Nitrokey NetHSM](https://www.nitrokey.com/products/

See the [list of supported features](./features.md) for more details.

Minimum supported rust version (MSRV): 1.70
## Download

Download the latest binary from the [release page](https://github.com/Nitrokey/nethsm-pkcs11/releases).
Expand All @@ -25,7 +26,7 @@ Follow the [documentation](https://docs.nitrokey.com/nethsm/pkcs11-setup.html) f
cargo build --release
```

The dynamic library will be in `target/release/libnethsm_pkcs11.so`.
The dynamic library will be in `${CARGO_TARGET_DIR:-target}/release/libnethsm_pkcs11.so`.

### Alpine Linux

Expand All @@ -41,13 +42,6 @@ To build on Alpine Linux you will need to add the C argument `target-feature=-cr
RUSTFLAGS="-C target-feature=-crt-static" cargo build --release
```


## Test Function (dev)

```
cargo build && RUST_LOG=trace P11NETHSM_CONFIG_FILE=./p11nethsm.conf NETHSM_PASS=TEST pkcs11-tool --module target/debug/libnethsm_pkcs11.so -I
```

## Debug Options

Set the `RUST_LOG` env variable to `trace`, `debug`, `info`, `warn` or `err` to change the logging level.

0 comments on commit 1e90cf5

Please sign in to comment.