Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OS X 11 (Big Sur) ARM support #4934

Closed
user858753257 opened this issue Jul 3, 2020 · 19 comments · Fixed by #6021
Closed

Add OS X 11 (Big Sur) ARM support #4934

user858753257 opened this issue Jul 3, 2020 · 19 comments · Fixed by #6021

Comments

@user858753257
Copy link

Summary

Add compatibility for the ARM architecture under OS X

Examples

Context

@phoerious
Copy link
Member

Pretty much a WONTFIX until Qt decides to support ARM and there is a Homebrew package for it.

@goetzc
Copy link

goetzc commented Nov 23, 2020

Well, Qt will certainly be supported natively under Apple Silicon / ARM. Until this time comes, Rosetta 2 will have it covered.

From the mailing list: https://lists.qt-project.org/pipermail/interest/2020-June/035445.html

We’ll certainly support Big Sur, but the amount of work we need to do there to make things work 100% is yet unknown as well, especially as Apple has made rather large changes to their look and feel.

Regarding macOS/ARM I don’t see a huge problem for Qt. Short term, Rosetta2 should have us covered, and slightly longer term, we’ll find a way to make Qt work on macOS/ARM.

Our code is mostly cross-platform, and we’ve been going through the PPC->x86->x64 transitions without too much trouble as well. In addition, we do support iOS and multiple other Ones on ARM. Apple also said that they are still supporting carbon and OpenGL on the ARM based Macs. Together I don’t see a reason to expect larger issues in getting Qt to run on macOS/ARM.

But we don’t yet have much more information than you have. We’ll order some dev kits and start looking into this.

@phoerious
Copy link
Member

especially as Apple has made rather large changes to their look and feel.

I wonder if that will finally result in some basic style fixes. Qt on macOS is horrible.

We will support Big Sur when

a) Qt does
b) We have acquired one of the new M1 machines.

@arunkv
Copy link

arunkv commented Dec 29, 2020

Now that there appears to be a Qt5 for arm64, does that change things?
https://homebrew.bintray.com/bottles/qt-5.15.2.arm64_big_sur.bottle.tar.gz

@phoerious
Copy link
Member

Not yet, but you can totally run KeePassXC throughout Rosetta. I would even argue that you won't see any major difference.

@arunkv
Copy link

arunkv commented Dec 29, 2020

💯 Yup, it works perfectly fine with Rosetta. Just trying to get to a native build 😁

@erinacio
Copy link

erinacio commented Dec 29, 2020

Successfully built KeePassXC 2.6.2 on an apple silicon device with following instructions:

  1. Install all other dependencies except quazip from homebrew (yes, homebrew supports arm64 now)
  2. Install quazip 1.1 manually from this PR: quazip 1.1 Homebrew/homebrew-core#67223
  3. curl https://raw.githubusercontent.com/archlinux/svntogit-community/packages/keepassxc/trunk/keepassxc-quazip1.patch | patch -p1 to apply quazip 1.1 patch
  4. mkdir -p build && cd build
  5. cmake -DCMAKE_BUILD_TYPE=Release -DWITH_XC_ALL=ON -DKEEPASSXC_BUILD_TYPE=Release ..
  6. make -j8
  7. cd src && codesign --force --deep --sign - KeePassXC.app
  8. codesign --force --deep --sign - KeePassXC.app codesign again

Have no idea why the app icon is missing, and why I have to codesign again to make app run.

@erinacio
Copy link

erinacio commented Dec 29, 2020

Successfully built KeePassXC 2.6.2 on an apple silicon device with following instructions:

  1. Install all other dependencies except quazip from homebrew (yes, homebrew supports arm64 now)
  2. Install quazip 1.1 manually from this PR: Homebrew/homebrew-core#67223
  3. curl https://raw.githubusercontent.com/archlinux/svntogit-community/packages/keepassxc/trunk/keepassxc-quazip1.patch | patch -p1 to apply quazip 1.1 patch
  4. mkdir -p build && cd build
  5. cmake -DCMAKE_BUILD_TYPE=Release -DWITH_XC_ALL=ON -DKEEPASSXC_BUILD_TYPE=Release ..
  6. make -j8
  7. cd src && codesign --force --deep --sign - KeePassXC.app
  8. codesign --force --deep --sign - KeePassXC.app codesign again

Have no idea why the app icon is missing, and why I have to codesign again to make app run.

Screen Shot 2020-12-30 at 05 15 55

The icon is somehow missing:

Screen Shot 2020-12-30 at 05 21 05

@arunkv
Copy link

arunkv commented Dec 29, 2020

  1. Install quazip 1.1 manually from this PR: Homebrew/homebrew-core#67223
  2. curl https://raw.githubusercontent.com/archlinux/svntogit-community/packages/keepassxc/trunk/keepassxc-quazip1.patch | patch -p1 to apply quazip 1.1 patch

Nice work! Thanks for that tip! I was still trying to figure out how to build quazip since Homebrew installs the older 0.9 version

Any runtime issues on Apple Silicon?

@erinacio
Copy link

  1. Install quazip 1.1 manually from this PR: Homebrew/homebrew-core#67223
  2. curl https://raw.githubusercontent.com/archlinux/svntogit-community/packages/keepassxc/trunk/keepassxc-quazip1.patch | patch -p1 to apply quazip 1.1 patch

Nice work! Thanks for that tip! I was still trying to figure out how to build quazip since Homebrew installs the older 0.9 version

Any runtime issues on Apple Silicon?

Didn't find any issue right now, but I only used basic functionalities.

  • Open existing database: working
  • Add new entry: working
  • Remove existing entry: working
  • Autotype: working
  • Copy password: working
  • Clear clipboard after several seconds: working
  • Edit existing entry: working
  • Save changes to database: working
  • Lock database manually: working
  • Unlock database: working
  • Lock database automatically after being inactive for several minutes: working

@phoerious
Copy link
Member

phoerious commented Dec 30, 2020

Guess I'll have to buy a Macbook then or cross-compile.

The icon is missing, because you didn't package the app and you cannot simply deep-sign everything. That adds the wrong entitlements to the libraries.

@erinacio
Copy link

Guess I'll have to buy a Macbook then or cross-compile.

The icon is missing, because you didn't package the app and you cannot simply deep-sign everything. That adds the wrong entitlements to the libraries.

Rebuilt the app with (patched) release-tool and the icon is back. codesign without --deep simply won't work, still got EXC_BAD_ACCESS (Code Signature Invalid).


Quick and dirty patch to release-tool:

diff --git a/release-tool b/release-tool
index d8fc1cf0..0f12cd47 100755
--- a/release-tool
+++ b/release-tool
@@ -949,8 +949,8 @@ build() {

             logInfo "Configuring build..."
             cmake -DCMAKE_BUILD_TYPE=Release \
-              -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-              -DCMAKE_PREFIX_PATH="/usr/local/opt/qt/lib/cmake" \
+              -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
+              -DCMAKE_PREFIX_PATH="/opt/homebrew/opt/qt/lib/cmake" \
               ${CMAKE_OPTIONS} "$SRC_DIR"

             logInfo "Compiling and packaging sources..."

Then create a new commit otherwise release-tool will refuse to build, change tag 2.6.2 to the new commit, and build with:

./release-tool build --version 2.6.2 --plugins all

If everything is OK, a dmg bundle will be created in release/KeePassXC-2.6.2.dmg.

@erinacio
Copy link

Guess I'll have to buy a Macbook then or cross-compile.

The icon is missing, because you didn't package the app and you cannot simply deep-sign everything. That adds the wrong entitlements to the libraries.

After investigated how release-tool does appsign, I manually signed the app with:

# pwd in keepassxc source root, app copied to /Application
xcrun codesign --sign - --verbose --deep --options runtime /Applications/KeePassXC.app
xcrun codesign --sign - --verbose --force --options runtime --entitlements share/macosx/keepassxc.entitlements /Applications/KeePassXC.app/Contents/MacOS/KeePassXC

Then I got You do not have permission to open the application “KeePassXC.app”. Contact your computer or network administrator for assistance.. Well, who is my computer administrator? Tim Cook?

Anyway, seems that ad-hoc code signing won't work.

@ryantig
Copy link

ryantig commented Jan 14, 2021

Red haring @erinacio: Could you try sudo xattr -dr com.apple.quarantine /Applications/KeePassXC.app

@erinacio
Copy link

sudo xattr -dr com.apple.quarantine /Applications/KeePassXC.app

No output at all, just exited with status code 0.

@erinacio
Copy link

The command would remove extended attributes blocking run. After that, try running again. Permission error should be gone.

Nope. The permission error is still there.

With open /Applications/KeePassXC.app I got:

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10826 "kLSNoLaunchPermissionErr: User doesn't have permission to launch the app (managed networks)" UserInfo={_LSFunction=_LSLaunchWithRunningboard, _LSLine=2508, NSUnderlyingError=0x12280c870 {Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x122807260 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed with error: 153}}}}}

With xattr -plr com.apple.quarantine /Applications/KeePassXC.app I got:

xattr: /Applications/KeePassXC.app/Contents/_CodeSignature/CodeResources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/_CodeSignature: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/MacOS/keepassxc-cli: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/MacOS/keepassxc-proxy: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/MacOS/KeePassXC: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/MacOS: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/platforminputcontexts/libqtvirtualkeyboardplugin.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/platforminputcontexts: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/platforms/libqcocoa.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/platforms: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/printsupport: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/styles/libqmacstyle.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/styles: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/libkeepassx-autotype-cocoa.so: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/bearer/libqgenericbearer.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/bearer: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/iconengines/libqsvgicon.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/iconengines: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqgif.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqwbmp.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqwebp.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqico.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqmacheif.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqjpeg.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqtiff.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqsvg.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqicns.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqtga.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats/libqmacjp2.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/imageformats: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard/libqtvirtualkeyboard_thai.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard/libqtvirtualkeyboard_openwnn.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard/libqtvirtualkeyboard_hangul.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard/libqtvirtualkeyboard_pinyin.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard/libqtvirtualkeyboard_tcime.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns/virtualkeyboard: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/PlugIns: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/man/man1/keepassxc.1: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/man/man1/keepassxc-cli.1: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/man/man1: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/man: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/qt.conf: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/keepassxc.icns: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/wordlists/eff_large.wordlist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/wordlists: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/docs/KeePassXC_UserGuide.html: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/docs/KeePassXC_KeyboardShortcuts.html: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/docs/KeePassXC_GettingStarted.html: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/docs: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/icons/application/256x256/apps/keepassxc.png: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/icons/application/256x256/apps: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/icons/application/256x256: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/icons/application: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/icons: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_tr.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ro.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_it.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_sk.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_es.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ar.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_pt_BR.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_zh_TW.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_zh_CN.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_lt.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_hu.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_he.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_bg.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_uk.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_fr.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_cs.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_en.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_sv.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_nl_NL.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_ja.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_de.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_da.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_ru.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_fi.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_nb.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_ko.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_en_GB.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_pl.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_lv.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ca.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_tr.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_id.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_es.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_sk.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_it.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_ar.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_hu.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_bg.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_fr.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_cs.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_uk.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_en.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ja.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_zh_TW.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_de.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_da.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ru.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_fi.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_th.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_gd.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_et.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_ko.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_en_US.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_pt_PT.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/keepassx_pl.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations/qtbase_ca.qm: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources/translations: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/embedded.provisionprofile: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/QtPrintSupport: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/Resources/QtPrintSupport.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtPrintSupport.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/5/Resources/QtGui.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework/QtGui: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtGui.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/5/Resources/QtDBus.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/5/QtDBus: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework/QtDBus: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtDBus.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/5/Resources/QtQuick.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/5/QtQuick: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework/QtQuick: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQuick.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5/Resources/QtCore.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework/QtCore: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtCore.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/QtQml: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/5/Resources/QtQml.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQml.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libqrencode.4.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libsodium.23.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/5/Resources/QtVirtualKeyboard.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/5/QtVirtualKeyboard: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework/QtVirtualKeyboard: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtVirtualKeyboard.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libyubikey.0.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/QtMacExtras: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/5/QtMacExtras: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/5/Resources/QtMacExtras.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtMacExtras.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources/QtWidgets.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/QtWidgets: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtWidgets.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libgpg-error.0.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/QtNetwork: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/5/Resources/QtNetwork.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtNetwork.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libykpers-1.1.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/QtSvg: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/5/Resources/QtSvg.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtSvg.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libgcrypt.20.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/QtQmlModels: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/QtQmlModels: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/Resources/QtQmlModels.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtQmlModels.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libjson-c.5.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libargon2.1.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/Current: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/5/Resources/QtConcurrent.prl: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/5/Resources/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/5/Resources: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/5/QtConcurrent: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions/5: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/Versions: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework/QtConcurrent: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/QtConcurrent.framework: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks/libquazip1-qt5.1.0.0.dylib: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Frameworks: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents/Info.plist: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app/Contents: No such xattr: com.apple.quarantine
xattr: /Applications/KeePassXC.app: No such xattr: com.apple.quarantine

@erinacio
Copy link

Did you use sudo on the -dr attempt? If so, I don't know the cause, ; /Should/ make signing not matter.

Yes, did xattr -dr with sudo.

Maybe it's just an issue with ad hoc code signing. pkgutil --check-signature /Applications/KeePassXC.app always gives "invalid signature" result no matter how I signed the app (even if I can run it), while the official keepassxc release is "signed by a certificate trusted by macOS".

@phoerious
Copy link
Member

Just use the release-tool to sign. You can specify your own Apple ID. You have to also notarise it, which requires you to accept the Apple publisher terms for both paid and free apps on iTunes Connect first.

@erinacio
Copy link

Just use the release-tool to sign. You can specify your own Apple ID. You have to also notarise it, which requires you to accept the Apple publisher terms for both paid and free apps on iTunes Connect first.

Sign with release-tool: seems OK, with my Apple ID containing a so-called "Apple Development Certificates".
Notarising: not OK, seems that I have to pay for the Apple Developer Program enrollment before I accept the Apple Publisher Terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants