Skip to content

Commit fb3b852

Browse files
authored
Merge pull request #701 from Yubico/5.0.5-pre
5.0.5 pre
2 parents 9c7eb17 + 5732457 commit fb3b852

File tree

15 files changed

+1168
-607
lines changed

15 files changed

+1168
-607
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 89

.github/workflows/macOS.yml

Lines changed: 24 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ name: macOS
33
on: [push, pull_request]
44

55
env:
6-
PYTHON_VER: '3.8.2'
7-
PYTHON_VER_SHORT: '3.8'
8-
PYTHON_VER_SHORT_COMPACT: '38'
6+
PYTHON_VER: '3.9.2'
7+
PYTHON_VER_SHORT: '3.9'
8+
PYTHON_VER_SHORT_COMPACT: '39'
99
PYOTHERSIDE_VER: '1.5.9'
10-
OPENSSL_VER: '1.1.1g'
11-
LIBYUBIKEY_VER: '1.13'
12-
LIBYKPERS_VER: '1.20.0'
13-
LIBUSB_VER: '1.0.23'
10+
OPENSSL_VER: '1.1.1i'
1411

1512
jobs:
1613
build:
@@ -20,16 +17,26 @@ jobs:
2017
steps:
2118
- uses: actions/checkout@v1
2219

20+
- name: Install Qt
21+
uses: jurplel/install-qt-action@v2
22+
with:
23+
version: '5.15.1'
24+
host: 'mac'
25+
target: 'desktop'
26+
2327
- name: Install dependencies from homebrew
2428
run: |
29+
pip install --upgrade pip
2530
brew update
26-
brew install swig qt zlib curl coreutils
27-
brew link qt -f
31+
brew install swig zlib curl coreutils
2832
2933
- name: Setup GPG
3034
run: |
31-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A 2D347EA6AA65421D e3ff2839c048b25c084debe9b26995e310250568
32-
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 7953AC1FBC3DC8B3B292393ED5E9E43F7DF9EE8C 8657ABB260F056B1E5190839D9C4D26D0E604491
35+
curl https://keys.openpgp.org/vks/v1/by-fingerprint/E3FF2839C048B25C084DEBE9B26995E310250568 | gpg --import
36+
curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7953ac1fbc3dc8b3b292393ed5e9e43f7df9ee8c" -o ./key1.asc
37+
curl "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8657ABB260F056B1E5190839D9C4D26D0E604491" -o ./key2.asc
38+
gpg --import ./key1.asc
39+
gpg --import ./key2.asc
3340
3441
- name: Build OpenSSL
3542
run: |
@@ -53,22 +60,19 @@ jobs:
5360
# otherwise it seems to break the linking for PyOtherSide build later.
5461
# Re-intall after, because it's needed for wget.
5562
brew uninstall gettext --ignore-dependencies
63+
brew unlink python@3.9
5664
./configure MACOSX_DEPLOYMENT_TARGET=10.13 CPPFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" CC=clang --enable-framework --with-openssl=/opt/openssl --enable-optimizations
5765
sudo make altinstall
66+
brew link --overwrite python@3.9
5867
brew reinstall gettext
5968
60-
61-
6269
- name: Install python dependencies from source
6370
run: |
64-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/3.8/bin/pip3.8 install cryptography --no-binary :all: --ignore-installed --force-reinstall --no-cache
65-
/Library/Frameworks/Python.framework/Versions/3.8/bin/pip3.8 download pyscard --no-binary :all:
66-
tar -xvf pyscard*
67-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/3.8/bin/pip3.8 install ./pyscard* --no-binary :all: --ignore-installed --force-reinstall --no-cache
68-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/3.8/bin/pip3.8 install -r requirements.txt --no-binary :all:
69-
71+
sudo /Library/Frameworks/Python.framework/Versions/${PYTHON_VER_SHORT}/bin/pip${PYTHON_VER_SHORT} install --upgrade pip
72+
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 CFLAGS="-I/opt/openssl/include" LDFLAGS="-L/opt/openssl/lib" /Library/Frameworks/Python.framework/Versions/${PYTHON_VER_SHORT}/bin/pip${PYTHON_VER_SHORT} install -r requirements.txt
73+
7074
- name: Change id for bundled Python
71-
run: sudo sed -i '' 's/org.python.python/com.yubico.python/g' /Library/Frameworks/Python.framework/Versions/3.8/Resources/Python.app/Contents/Info.plist
75+
run: sudo sed -i '' 's/org.python.python/com.yubico.python/g' /Library/Frameworks/Python.framework/Versions/${PYTHON_VER_SHORT}/Resources/Python.app/Contents/Info.plist
7276

7377
- name: Build PyOtherSide QML plugin
7478
run: |
@@ -81,35 +85,6 @@ jobs:
8185
make
8286
sudo make install
8387
84-
- name: Build libyubikey
85-
run: |
86-
wget https://developers.yubico.com/yubico-c/Releases/libyubikey-${LIBYUBIKEY_VER}.tar.gz
87-
wget https://developers.yubico.com/yubico-c/Releases/libyubikey-${LIBYUBIKEY_VER}.tar.gz.sig
88-
gpg --verify libyubikey-${LIBYUBIKEY_VER}.tar.gz.sig
89-
tar -xzvf libyubikey-${LIBYUBIKEY_VER}.tar.gz
90-
cd libyubikey-${LIBYUBIKEY_VER}
91-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 ./configure --with-backend=osx --prefix=/opt/libyubikey
92-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 make install
93-
94-
- name: Build libykpers
95-
run: |
96-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${LIBYKPERS_VER}.tar.gz
97-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${LIBYKPERS_VER}.tar.gz.sig
98-
gpg --verify ykpers-${LIBYKPERS_VER}.tar.gz.sig
99-
tar -xzvf ykpers-${LIBYKPERS_VER}.tar.gz
100-
cd ykpers-${LIBYKPERS_VER}
101-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 ./configure --disable-dependency-tracking --disable-silent-rules --with-backend=osx --with-libyubikey-prefix=/opt/libyubikey --prefix=/opt/ykpers
102-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 make install
103-
104-
- name: Build libusb
105-
run: |
106-
wget https://github.com/libusb/libusb/releases/download/v${LIBUSB_VER}/libusb-${LIBUSB_VER}.tar.bz2
107-
echo "db11c06e958a82dac52cf3c65cb4dd2c3f339c8a988665110e0d24d19312ad8d libusb-${LIBUSB_VER}.tar.bz2" | sha256sum -c -
108-
tar -xzvf libusb-${LIBUSB_VER}.tar.bz2
109-
cd libusb-${LIBUSB_VER}
110-
./configure --disable-dependency-tracking --prefix=/opt/libusb
111-
sudo env MACOSX_DEPLOYMENT_TARGET=10.13 make install
112-
11388
- name: Build yubioath-desktop
11489
run: |
11590
qmake
@@ -118,10 +93,7 @@ jobs:
11893
11994
- name: Copy over dynamic libraries
12095
run: |
121-
sudo find /opt/libyubikey/ -name '*.dylib' -exec cp '{}' yubioath-desktop.app/Contents/Frameworks/ ';'
122-
sudo find /opt/ykpers/ -name '*.dylib' -exec cp '{}' yubioath-desktop.app/Contents/Frameworks/ ';'
12396
sudo find /opt/openssl/ -name '*.dylib' -exec cp '{}' yubioath-desktop.app/Contents/Frameworks/ ';'
124-
sudo find /opt/libusb/ -name '*.dylib' -exec cp '{}' yubioath-desktop.app/Contents/Frameworks/ ';'
12597
12698
- name: Copy over Python.framework to app bundle
12799
run: |
@@ -143,11 +115,6 @@ jobs:
143115
sudo install_name_tool -change /opt/openssl/lib/libcrypto.1.1.dylib @executable_path/../Frameworks/libcrypto.1.1.dylib yubioath-desktop.app/Contents/Frameworks/Python.framework/Versions/${PYTHON_VER_SHORT}/lib/python${PYTHON_VER_SHORT}/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
144116
sudo install_name_tool -change /opt/openssl/lib/libssl.1.1.dylib @executable_path/../Frameworks/libssl.1.1.dylib yubioath-desktop.app/Contents/Frameworks/Python.framework/Versions/${PYTHON_VER_SHORT}/lib/python${PYTHON_VER_SHORT}/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
145117
146-
- name: Point ykpers dependencies to relative dylibs
147-
run: |
148-
sudo install_name_tool -change /opt/libyubikey/lib/libyubikey.0.dylib @executable_path/../Frameworks/libyubikey.0.dylib yubioath-desktop.app/Contents/Frameworks/libykpers-1.1.dylib
149-
sudo install_name_tool -change /opt/libyubikey/lib/libyubikey.0.dylib @executable_path/../Frameworks/libyubikey.0.dylib yubioath-desktop.app/Contents/Frameworks/libykpers-1.dylib
150-
151118
- name: Rename and archive app bundle
152119
run: |
153120
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)
Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
1-
From 373b80b420c04f897fccd10288f994bb66825011 Mon Sep 17 00:00:00 2001
2-
From: Dag Heyman <dag@yubico.com>
3-
Date: Tue, 3 Mar 2020 08:29:16 +0100
4-
Subject: [PATCH] ykman: use SNAP directory for settings
5-
6-
---
7-
ykman/settings.py | 2 +-
8-
1 file changed, 1 insertion(+), 1 deletion(-)
9-
101
diff --git a/ykman/settings.py b/ykman/settings.py
11-
index ef76670..5b7b942 100644
2+
index 77ca6d4..d64908e 100644
123
--- a/ykman/settings.py
134
+++ b/ykman/settings.py
14-
@@ -42,7 +42,7 @@ def _get_conf_dir():
15-
16-
class Settings(dict):
5+
@@ -41,7 +41,7 @@ class Settings(dict):
6+
_config_dir = HOME_CONFIG
7+
178
def __init__(self, name):
18-
- self.fname = os.path.join(_get_conf_dir(), name + '.json')
9+
- self.fname = Path(self._config_dir).expanduser().resolve() / (name + ".json")
1910
+ self.fname = os.path.join(os.getenv('SNAP_USER_DATA'), '.config', '.ykman', name + '.json')
20-
if os.path.isfile(self.fname):
21-
with open(self.fname, 'r') as f:
22-
self.update(json.load(f))
23-
--
24-
2.20.1
25-
11+
if self.fname.is_file():
12+
with self.fname.open("r") as fd:
13+
self.update(json.load(fd))

.github/workflows/windows-x64.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: windows 64 bit
33
on: [push, pull_request]
44

55
env:
6-
PYTHON_VER: '3.8.7'
76
PYTHON_VER_DIRNAME: 'python38'
87
PYOTHERSIDE_VER: '1.5.9'
98

@@ -16,7 +15,7 @@ jobs:
1615
- uses: actions/checkout@v1
1716
- uses: actions/setup-python@v1
1817
with:
19-
python-version: ${{ env.PYTHON_VER }}
18+
python-version: '3.8.x'
2019
architecture: 'x64'
2120

2221
- name: Install Qt
@@ -30,22 +29,17 @@ jobs:
3029

3130
- name: Download dependencies
3231
run: |
32+
$py_ver = python -V
33+
$py_ver -match "python (?<content>.*)"
34+
$version = $matches['content']
3335
wget https://download.qt.io/official_releases/jom/jom.zip -OutFile jom.zip
3436
wget https://github.com/thp/pyotherside/archive/$env:PYOTHERSIDE_VER.zip -OutFile pyotherside-$env:PYOTHERSIDE_VER.zip
35-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0-win64.zip -OutFile ykpers-1.20.0-win64.zip
36-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0-win64.zip.sig -OutFile ykpers-1.20.0-win64.zip.sig
37-
wget https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.7z -OutFile libusb-1.0.22.7z
38-
wget https://www.python.org/ftp/python/$env:PYTHON_VER/python-$env:PYTHON_VER-embed-amd64.zip -OutFile python-$env:PYTHON_VER-embed-amd64.zip
37+
wget https://www.python.org/ftp/python/$version/python-$version-embed-amd64.zip -OutFile python-$version-embed-amd64.zip
3938
shell: powershell
4039

4140
- name: Fetch GPG keys
4241
run: gpg --no-default-keyring --keyring yubico --keyserver hkps://keys.openpgp.org --recv-keys 0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A
4342

44-
- name: Verify signature/checksums of downloaded files
45-
run: |
46-
sha256sum -c ./.github/workflows/windows-libs.sha256sum
47-
gpg --no-default-keyring --keyring yubico --verify ykpers-1.20.0-win64.zip.sig ykpers-1.20.0-win64.zip
48-
4943
- name: Install swig
5044
run: choco install swig
5145

@@ -55,11 +49,14 @@ jobs:
5549
5650
- name: Prepare pyotherside
5751
run: |
52+
$py_ver = python -V
53+
$py_ver -match "python (?<content>.*)"
54+
$version = $matches['content']
5855
7z x pyotherside-$env:PYOTHERSIDE_VER.zip
5956
cd pyotherside-$env:PYOTHERSIDE_VER
6057
(Get-Content .\src\qmldir).replace('pyothersideplugin', 'pyothersideplugin1') | Set-Content .\src\qmldir
6158
Clear-Content python.pri
62-
Add-Content python.pri "PYTHON_CONFIG = python3-config`nQMAKE_LIBS += -LC:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x64\libs -l$env:PYTHON_VER_DIRNAME`nQMAKE_CXXFLAGS += -IC:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x64\include`n"
59+
Add-Content python.pri "PYTHON_CONFIG = python3-config`nQMAKE_LIBS += -LC:\hostedtoolcache\windows\Python\$version\x64\libs -l$env:PYTHON_VER_DIRNAME`nQMAKE_CXXFLAGS += -IC:\hostedtoolcache\windows\Python\$version\x64\include`n"
6360
shell: powershell
6461

6562
- name: Build and install pyotherside
@@ -90,20 +87,18 @@ jobs:
9087
- name: Copy over files to release folder
9188
shell: powershell
9289
run: |
90+
$py_ver = python -V
91+
$py_ver -match "python (?<content>.*)"
92+
$version = $matches['content']
93+
9394
Copy-Item .\pymodules .\release -recurse
9495
Get-ChildItem -File -Include *.pyc -Recurse | Remove-Item -Force
9596
Get-ChildItem -Include __pycache__ -Recurse | Remove-Item -Force
9697
Get-ChildItem -Include *.cpp -Recurse | Remove-Item -Force
9798
Get-ChildItem -Include *.obj -Recurse | Remove-Item -Force
98-
99-
7z x ykpers-1.20.0-win64.zip
100-
Copy-Item .\bin\*.dll .\release\pymodules\ykman\native -Force
101-
102-
7z x libusb-1.0.22.7z
103-
Copy-Item .\MS64\dll\*.dll .\release\pymodules\ykman\native -Force
104-
99+
105100
cd .\release
106-
7z x ..\python-$env:PYTHON_VER-embed-amd64.zip
101+
7z x ..\python-$version-embed-amd64.zip
107102
108103
- name: Create .zip artifact
109104
shell: powershell

.github/workflows/windows-x86.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: windows 32bit
33
on: [push, pull_request]
44

55
env:
6-
PYTHON_VER: '3.8.7'
76
PYTHON_VER_DIRNAME: 'python38'
87
PYOTHERSIDE_VER: '1.5.9'
98

@@ -16,7 +15,7 @@ jobs:
1615
- uses: actions/checkout@v1
1716
- uses: actions/setup-python@v1
1817
with:
19-
python-version: ${{ env.PYTHON_VER }}
18+
python-version: '3.8.x'
2019
architecture: 'x86'
2120

2221
- name: Install Qt
@@ -30,22 +29,17 @@ jobs:
3029

3130
- name: Download dependencies
3231
run: |
32+
$py_ver = python -V
33+
$py_ver -match "python (?<content>.*)"
34+
$version = $matches['content']
3335
wget https://download.qt.io/official_releases/jom/jom.zip -OutFile jom.zip
3436
wget https://github.com/thp/pyotherside/archive/$env:PYOTHERSIDE_VER.zip -OutFile pyotherside-$env:PYOTHERSIDE_VER.zip
35-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0-win32.zip -OutFile ykpers-1.20.0-win32.zip
36-
wget https://developers.yubico.com/yubikey-personalization/Releases/ykpers-1.20.0-win32.zip.sig -OutFile ykpers-1.20.0-win32.zip.sig
37-
wget https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.7z -OutFile libusb-1.0.22.7z
38-
wget https://www.python.org/ftp/python/$env:PYTHON_VER/python-$env:PYTHON_VER-embed-win32.zip -OutFile python-$env:PYTHON_VER-embed-win32.zip
37+
wget https://www.python.org/ftp/python/$version/python-$version-embed-win32.zip -OutFile python-$version-embed-win32.zip
3938
shell: powershell
4039

4140
- name: Fetch GPG keys
4241
run: gpg --no-default-keyring --keyring yubico --keyserver hkps://keys.openpgp.org --recv-keys 0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A
4342

44-
- name: Verify signature/checksums of downloaded files
45-
run: |
46-
sha256sum -c ./.github/workflows/windows-x86-libs.sha256sum
47-
gpg --no-default-keyring --keyring yubico --verify ykpers-1.20.0-win32.zip.sig ykpers-1.20.0-win32.zip
48-
4943
- name: Install swig
5044
run: choco install swig
5145

@@ -56,11 +50,15 @@ jobs:
5650

5751
- name: Prepare pyotherside
5852
run: |
53+
$py_ver = python -V
54+
$py_ver -match "python (?<content>.*)"
55+
$version = $matches['content']
56+
5957
7z x pyotherside-$env:PYOTHERSIDE_VER.zip
6058
cd pyotherside-$env:PYOTHERSIDE_VER
6159
(Get-Content .\src\qmldir).replace('pyothersideplugin', 'pyothersideplugin1') | Set-Content .\src\qmldir
6260
Clear-Content python.pri
63-
Add-Content python.pri "PYTHON_CONFIG = python3-config`nQMAKE_LIBS += -LC:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x86\libs -l$env:PYTHON_VER_DIRNAME`nQMAKE_CXXFLAGS += -IC:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x86\include`n"
61+
Add-Content python.pri "PYTHON_CONFIG = python3-config`nQMAKE_LIBS += -LC:\hostedtoolcache\windows\Python\$version\x86\libs -l$env:PYTHON_VER_DIRNAME`nQMAKE_CXXFLAGS += -IC:\hostedtoolcache\windows\Python\$version\x86\include`n"
6462
shell: powershell
6563

6664
- name: Build and install pyotherside
@@ -75,7 +73,10 @@ jobs:
7573

7674
- name: Build app
7775
run: |
78-
set PATH=C:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x86\Scripts;C:\hostedtoolcache\windows\Python\$env:PYTHON_VER\x86;D:\a\yubioath-desktop\yubioath-desktop\5.14.1\msvc2017\bin;D:\a\yubioath-desktop\yubioath-desktop;%PATH%
76+
$py_ver = python -V
77+
$py_ver -match "python (?<content>.*)"
78+
$version = $matches['content']
79+
set PATH=C:\hostedtoolcache\windows\Python\$version\x86\Scripts;C:\hostedtoolcache\windows\Python\$version\x86;D:\a\yubioath-desktop\yubioath-desktop\5.14.1\msvc2017\bin;D:\a\yubioath-desktop\yubioath-desktop;%PATH%
7980
call C:\"Program Files (x86)\Microsoft Visual Studio"\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat x86
8081
qmake
8182
jom
@@ -90,20 +91,18 @@ jobs:
9091

9192
- name: Copy over files to release folder
9293
run: |
94+
$py_ver = python -V
95+
$py_ver -match "python (?<content>.*)"
96+
$version = $matches['content']
97+
9398
Copy-Item .\pymodules .\release -recurse
9499
Get-ChildItem -File -Include *.pyc -Recurse | Remove-Item -Force
95100
Get-ChildItem -Include __pycache__ -Recurse | Remove-Item -Force
96101
Get-ChildItem -Include *.cpp -Recurse | Remove-Item -Force
97102
Get-ChildItem -Include *.obj -Recurse | Remove-Item -Force
98103
99-
7z x ykpers-1.20.0-win32.zip
100-
Copy-Item .\bin\*.dll .\release\pymodules\ykman\native -Force
101-
102-
7z x libusb-1.0.22.7z
103-
Copy-Item .\MS32\dll\*.dll .\release\pymodules\ykman\native -Force
104-
105104
cd .\release
106-
7z x ..\python-$env:PYTHON_VER-embed-win32.zip
105+
7z x ..\python-$version-embed-win32.zip
107106
108107
- name: Create .zip artifact
109108
run: |

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* Version 5.0.5 (released 2021-04-14)
2+
** Compatibility update for ykman 4.0.
3+
** Add additional product names.
4+
** Linux: Use the embedded version of ykman in AppImage.
5+
16
* Version 5.0.4 (released 2020-05-14)
27
** New app icons on all platforms
38
** Adjust the behaviour of the search bar, do not search accounts without having focus

docker/xenial-appimage/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apt-get install -y git make build-essential g++ libssl-dev zlib1g-dev libbz2
1212
qt515sensors qt515serialbus qt515serialport qt515x11extras qt515quickcontrols2 \
1313
qt515connectivity qt515scxml qt515wayland qt515remoteobjects qtbase5-dev \
1414
desktop-file-utils libglib2.0-bin qtchooser python3-pip python mesa-common-dev curl swig \
15-
libpcsclite-dev libffi-dev libykpers-1-1
15+
libpcsclite-dev libffi-dev
1616
ENV QT_BASE_DIR=/opt/qt515 \
1717
QT_DIR=/opt/qt515 \
1818
PYTHON_CFLAGS=-fPIC \
@@ -40,8 +40,6 @@ RUN mkdir -p yubioath-desktop/appDir/usr \
4040
&& pip3 install --upgrade pip \
4141
&& pip3 install -r requirements.txt \
4242
&& cp -R /root/.pyenv/versions/3.8.7/* appDir/usr \
43-
&& apt-get download libykpers-1-1 \
44-
&& dpkg -x libykpers*.deb appDir/ \
4543
&& qmake \
4644
&& make \
4745
&& cp resources/com.yubico.yubioath.desktop appDir/ \

0 commit comments

Comments
 (0)