1#!/usr/bin/env python3 2 3# ##### BEGIN GPL LICENSE BLOCK ##### 4# 5# This program is free software; you can redistribute it and/or 6# modify it under the terms of the GNU General Public License 7# as published by the Free Software Foundation; either version 2 8# of the License, or (at your option) any later version. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software Foundation, 17# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18# 19# ##### END GPL LICENSE BLOCK ##### 20 21# <pep8 compliant> 22 23# NOTE: This is a no-op signer (since there isn't really a procedure to sign 24# Linux binaries yet). Used to debug and verify the code signing routines on 25# a Linux environment. 26 27import logging.config 28from pathlib import Path 29from typing import List 30 31from codesign.linux_code_signer import LinuxCodeSigner 32import codesign.config_server 33 34if __name__ == "__main__": 35 logging.config.dictConfig(codesign.config_server.LOGGING) 36 code_signer = LinuxCodeSigner(codesign.config_server) 37 code_signer.run_signing_server() 38