Skip to content

Commit

Permalink
Updated 'swtpm' and 'libtpms' to the latest versions + updated README…
Browse files Browse the repository at this point in the history
… file.
  • Loading branch information
danieltrick committed Jan 23, 2025
1 parent 88ddeb4 commit f8b7edf
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 15 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
- Enabled multi-platform build for `linux/amd64` and `linux/arm64`

### Changed
- Improved *default* command-line parameters for `swtpm` invocation
- swtpm: Improved *default* command-line parameters for `swtpm` invocation
- swtpm: Updated to revision `0528ac733b76` (2025-01-20)

## r12 - 2025-01-15

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG ALPINE_VERS=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58
FROM alpine:$ALPINE_VERS AS build

# SWTPM Versions
ARG SWTPM_COMMIT=3d6a8b75b335556e59491407aebc3721d805ea5d
ARG SWTPM_COMMIT=0528ac733b76e88682dce6853a82054834b458e1
ARG LTPMS_COMMIT=ecb769cdb8ddbef6e3d91c062d9d2105acff5802

# Install build dependencies
Expand Down
45 changes: 32 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,39 @@ The purpose of this repository is to provide ready to use Docker images of [swtp
**Docker Hub page:**
<https://hub.docker.com/r/danieltrick/swtpm-docker>

Usage:
------

In order to start `swtpm` via Docker, just run the following command:
```sh
$ docker run -p 2321:2321 -p 2322:2322 danieltrick/swtpm-docker:r13
```

### Default parameters

By default, `swtpm` will be invoked with the following parameters:
```sh
socket --tpm2 \
--server type=tcp,port=2321,bindaddr=0.0.0.0 \
--ctrl type=tcp,port=2322,bindaddr=0.0.0.0 \
--flags not-need-init \
--tpmstate dir=/var/lib/swtpm/tpmstate
```

Version history
---------------

| **Release** | **Date** | **Base system** | **SWTPM version** | **libtpms version** |
| ------------| ---------- | --------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| r12 | 2025-01-15 | Alpine 3.21.2 | [`3d6a8b75b335`](https://github.com/stefanberger/swtpm/commit/3d6a8b75b335) | [`ecb769cdb8dd`](https://github.com/stefanberger/libtpms/commit/ecb769cdb8dd) |
| r11 | 2024-12-06 | Alpine 3.21.0 | [`314f5f411b32`](https://github.com/stefanberger/swtpm/commit/314f5f411b32) | [`f22745c72933`](https://github.com/stefanberger/libtpms/commit/f22745c72933) |
| r10 | 2024-09-28 | Alpine 3.20.3 | [`2e2124928f38`](https://github.com/stefanberger/swtpm/commit/2e2124928f38) | [`6adb99a42cf6`](https://github.com/stefanberger/libtpms/commit/6adb99a42cf6) |
| r9 | 2024-09-18 | Alpine 3.20.3 | [`017f99ceddb0`](https://github.com/stefanberger/swtpm/commit/017f99ceddb0) | [`e898872637b4`](https://github.com/stefanberger/libtpms/commit/e898872637b4) |
| r8 | 2024-09-13 | Alpine 3.20.3 | [`28292591cbef`](https://github.com/stefanberger/swtpm/commit/28292591cbef) | [`46548da8edbf`](https://github.com/stefanberger/libtpms/commit/46548da8edbf) |
| r7 | 2024-09-08 | Alpine 3.20.3 | [`607eb54b3e52`](https://github.com/stefanberger/swtpm/commit/607eb54b3e52) | [`e983cdf05c4e`](https://github.com/stefanberger/libtpms/commit/e983cdf05c4e) |
| r6 | 2024-09-05 | Alpine 3.20.2 | [`607eb54b3e52`](https://github.com/stefanberger/swtpm/commit/607eb54b3e52) | [`e983cdf05c4e`](https://github.com/stefanberger/libtpms/commit/e983cdf05c4e) |
| r5 | 2024-09-01 | Alpine 3.20.2 | [`0ddc7ed25491`](https://github.com/stefanberger/swtpm/commit/0ddc7ed25491) | [`f5518e596e65`](https://github.com/stefanberger/libtpms/commit/f5518e596e65) |
| r4 | 2024-08-29 | Alpine 3.20.2 | [`54583a87b536`](https://github.com/stefanberger/swtpm/commit/54583a87b536) | [`2dc1af12e5b0`](https://github.com/stefanberger/libtpms/commit/2dc1af12e5b0) |
| r2 | 2024-08-27 | Debian 12, 2024-08-12 | [`54583a87b536`](https://github.com/stefanberger/swtpm/commit/54583a87b536) | [`2dc1af12e5b0`](https://github.com/stefanberger/libtpms/commit/2dc1af12e5b0) |
| r1 | 2024-08-27 | Debian 12, 2024-08-12 | [`d6ca69ad4622`](https://github.com/stefanberger/swtpm/commit/d6ca69ad4622) | [`92ab42119406`](https://github.com/stefanberger/libtpms/commit/92ab42119406) |
| **Release** | **Date** | **Base system** | **SWTPM version** | **libtpms version** |
| ------------| ---------- | --------------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| r13 | 2025-01-23 | Alpine 3.21.2 | 0.11.0 / [`0528ac733b76`](https://github.com/stefanberger/swtpm/commit/0528ac733b76) | [`ecb769cdb8dd`](https://github.com/stefanberger/libtpms/commit/ecb769cdb8dd) |
| r12 | 2025-01-15 | Alpine 3.21.2 | 0.11.0 / [`3d6a8b75b335`](https://github.com/stefanberger/swtpm/commit/3d6a8b75b335) | [`ecb769cdb8dd`](https://github.com/stefanberger/libtpms/commit/ecb769cdb8dd) |
| r11 | 2024-12-06 | Alpine 3.21.0 | 0.11.0 / [`314f5f411b32`](https://github.com/stefanberger/swtpm/commit/314f5f411b32) | [`f22745c72933`](https://github.com/stefanberger/libtpms/commit/f22745c72933) |
| r10 | 2024-09-28 | Alpine 3.20.3 | 0.10.0 / [`2e2124928f38`](https://github.com/stefanberger/swtpm/commit/2e2124928f38) | [`6adb99a42cf6`](https://github.com/stefanberger/libtpms/commit/6adb99a42cf6) |
| r9 | 2024-09-18 | Alpine 3.20.3 | 0.10.0 / [`017f99ceddb0`](https://github.com/stefanberger/swtpm/commit/017f99ceddb0) | [`e898872637b4`](https://github.com/stefanberger/libtpms/commit/e898872637b4) |
| r8 | 2024-09-13 | Alpine 3.20.3 | 0.10.0 / [`28292591cbef`](https://github.com/stefanberger/swtpm/commit/28292591cbef) | [`46548da8edbf`](https://github.com/stefanberger/libtpms/commit/46548da8edbf) |
| r7 | 2024-09-08 | Alpine 3.20.3 | 0.10.0 / [`607eb54b3e52`](https://github.com/stefanberger/swtpm/commit/607eb54b3e52) | [`e983cdf05c4e`](https://github.com/stefanberger/libtpms/commit/e983cdf05c4e) |
| r6 | 2024-09-05 | Alpine 3.20.2 | 0.10.0 / [`607eb54b3e52`](https://github.com/stefanberger/swtpm/commit/607eb54b3e52) | [`e983cdf05c4e`](https://github.com/stefanberger/libtpms/commit/e983cdf05c4e) |
| r5 | 2024-09-01 | Alpine 3.20.2 | 0.10.0 / [`0ddc7ed25491`](https://github.com/stefanberger/swtpm/commit/0ddc7ed25491) | [`f5518e596e65`](https://github.com/stefanberger/libtpms/commit/f5518e596e65) |
| r4 | 2024-08-29 | Alpine 3.20.2 | 0.10.0 / [`54583a87b536`](https://github.com/stefanberger/swtpm/commit/54583a87b536) | [`2dc1af12e5b0`](https://github.com/stefanberger/libtpms/commit/2dc1af12e5b0) |
| r2 | 2024-08-27 | Debian 12, 2024-08-12 | 0.10.0 / [`54583a87b536`](https://github.com/stefanberger/swtpm/commit/54583a87b536) | [`2dc1af12e5b0`](https://github.com/stefanberger/libtpms/commit/2dc1af12e5b0) |
| r1 | 2024-08-27 | Debian 12, 2024-08-12 | 0.10.0 / [`d6ca69ad4622`](https://github.com/stefanberger/swtpm/commit/d6ca69ad4622) | [`92ab42119406`](https://github.com/stefanberger/libtpms/commit/92ab42119406) |

0 comments on commit f8b7edf

Please sign in to comment.