For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aplanas:branches:security/openSUSE_Tumbleweed/home:aplanas:branches:security.repo
zypper refresh
zypper install swtpm
For openSUSE Factory zSystems run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aplanas:branches:security/openSUSE_Factory_zSystems/home:aplanas:branches:security.repo
zypper refresh
zypper install swtpm
For openSUSE Factory PowerPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aplanas:branches:security/openSUSE_Factory_PowerPC/home:aplanas:branches:security.repo
zypper refresh
zypper install swtpm
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aplanas:branches:security/openSUSE_Factory_ARM/home:aplanas:branches:security.repo
zypper refresh
zypper install swtpm
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aplanas:branches:security/15.5/home:aplanas:branches:security.repo
zypper refresh
zypper install swtpm