pkgname=solo-python
pkgver=0.0.27
pkgrel=2
pkgdesc="Tools and Python library for SoloKeys."
arch=('any')
url="https://github.com/solokeys/solo-python"
license=('Apache' 'MIT')
depends=('python' 'python-click>=7.0' 'python-cryptography' 'python-ecdsa'
'python-fido2' 'python-intelhex' 'python-pyserial' 'python-pyusb'
'python-requests')
makedepends=('fakeroot' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/alium/share/master/solo")
sha256sums=('72a4699eb3b1979d7a2561c538987f868b5e7ee4e4a5b402b8a4d460d3dd6ec7'
'd4206872009b63693fc0eeec7c82096bff06b58cc938523f1820f46f071a5642')
build() {
cd $pkgname-$pkgver
python setup.py build
}
package() {
cd $pkgname-$pkgver
python setup.py install --root="${pkgdir}" --optimize=1
install -m755 -d "${pkgdir}/usr/bin"
install -m755 "${srcdir}"/solo "${pkgdir}/usr/bin"
}
works for me now
[alois@picasso solo-python]$ solo
Usage: solo [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
genkey Generates key pair that can be used for Solo signed firmware...
key Interact with Solo keys, see subcommands.
ls List Solos (in firmware or bootloader mode) and potential Solos...
mergehex Merges hex files, and patches in the attestation key.
monitor Reads Solo Hacker serial output from USB serial port...
program Program a key.
sign Signs a firmware hex file, outputs a .json file that can be
used...
version Version of python-solo library and tool.