This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It turns out, to get rid of the "There is no digital signature" message in App Center, one only has to add a new entry to [/etc/config/nas_sign_qpkg.db] in the 'Certificate' table. Create a new record, with a "qpkg" 'Type', and 'QpkgName' as the internal QPKG name. Reload App Center. Done. No more warning. The QPKG is still not digitally signed but will also not display an error message in App Center. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Copyright (C) 2023 OneCD - one.cd.only@gmail.com | |
# This script was written on 2023-01-29. It is intended as a proof-of-concept, rather than a hack. | |
# Modify the QTS App Center certificate dB, and add an unsigned QPKG as-if it were signed. It adds a QNAP generated certificate and digital signature to the database for the unsigned QPKG. | |
# Running the code below makes the target QPKG effectively "signed", and allows user to install and run this QPKG with the 'Allow installation of applications without a valid digital signature' App Center option unticked. |
OlderNewer