diff --git a/onionr/httpapi/security/pluginwhitelist.py b/onionr/httpapi/security/pluginwhitelist.py index ca238b2e..de6c8baa 100644 --- a/onionr/httpapi/security/pluginwhitelist.py +++ b/onionr/httpapi/security/pluginwhitelist.py @@ -1,3 +1,22 @@ +""" + Onionr - Private P2P Communication + + Load web UI client endpoints into the whitelist from plugins +""" +""" + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +""" import onionrplugins def load_plugin_security_whitelist_endpoints(whitelist: list): """Accept a list reference of whitelist endpoints from security/client.py and diff --git a/onionr/onionrcrypto/getourkeypair.py b/onionr/onionrcrypto/getourkeypair.py index 0eba1abc..5bd96bce 100644 --- a/onionr/onionrcrypto/getourkeypair.py +++ b/onionr/onionrcrypto/getourkeypair.py @@ -1,3 +1,22 @@ +""" + Onionr - Private P2P Communication + + returns our current active keypair +""" +""" + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +""" import os import keymanager, config, filepaths from . import generate