Skip to content

Instantly share code, notes, and snippets.

View OneCDOnly's full-sized avatar
🕶️
just geekin' out

OneCD OneCDOnly

🕶️
just geekin' out
  • ... there, behind that sofa!
  • 03:09 (UTC +10:00)
View GitHub Profile
@OneCDOnly
OneCDOnly / gist:2ddf36908b17097e670c36367a68015a
Created November 27, 2021 02:01
notes regarding package signing in QTS 5
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.
@OneCDOnly
OneCDOnly / mod-qpkg-db.sh
Last active January 29, 2023 07:14
allow an unsigned QPKG to be installed and run in QTS while QTS is configured to disallow this
#!/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.