Skip to content

Commit

Permalink
install necessary dependencies for pkcs#11 integration
Browse files Browse the repository at this point in the history
  • Loading branch information
MGTheTrain committed Nov 15, 2024
1 parent 7173064 commit 8c109de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"image": "mcr.microsoft.com/vscode/devcontainers/go:1.21",
// Features to add to the dev container. More info: https://containers.dev/features
"features": {},
"postCreateCommand": "apt-get update && apt-get install -y opensc softhsm",
"remoteUser": "root"
}
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ TBD

## Getting Started

### Preconditions

- Install Go from the official Go website, or use this [devcontainer.json](../../.devcontainer/devcontainer.json) with the [DevContainer extensions in VS Code or other IDE supporting DevContainers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
- If the `devcontainer.json` is not used, install the necessary dependencies for PKCS#11 integration on a later Linux distribution such as `Debian 12` or `Ubuntu 22.04`:

```sh
apt-get update
apt-get install -y opensc softhsm
```

### Formatting and linting

For formatting and linting run either on Unix systems
Expand Down

0 comments on commit 8c109de

Please sign in to comment.