Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
python3-gpg /
examples /
howto /
Delete
Unzip
Name
Size
Permission
Date
Action
advanced
[ DIR ]
drwxr-xr-x
2024-09-07 23:28
README.org
1.81
KB
-rw-r--r--
2018-04-16 18:40
add-userid.py
2.05
KB
-rwxr-xr-x
2018-12-07 18:20
clear-sign-file.py
1.98
KB
-rwxr-xr-x
2018-12-03 18:37
create-key.py
2.94
KB
-rwxr-xr-x
2018-12-07 18:20
decrypt-file.py
1.79
KB
-rwxr-xr-x
2018-12-03 18:37
detach-sign-file.py
2.27
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-file.py
2.53
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-sign-file.py
2.67
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group-gullible.py
2.55
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group-trustno1.py
2.85
KB
-rwxr-xr-x
2018-12-03 18:37
encrypt-to-group.py
2.92
KB
-rwxr-xr-x
2018-12-03 18:37
export-key.py
2.65
KB
-rwxr-xr-x
2018-12-03 18:37
export-minimised-key.py
2.68
KB
-rwxr-xr-x
2018-12-03 18:37
export-secret-key.py
2.78
KB
-rwxr-xr-x
2018-12-03 18:37
export-secret-keys.py
4.17
KB
-rwxr-xr-x
2018-12-03 18:37
groups.py
1.87
KB
-rw-r--r--
2019-01-25 21:27
import-key.py
2.99
KB
-rwxr-xr-x
2018-12-03 18:37
import-keybasekey.py
2.66
KB
-rwxr-xr-x
2018-12-18 00:47
import-keys-hkp.py
3.95
KB
-rwxr-xr-x
2018-12-18 00:47
import-keys.py
2.37
KB
-rwxr-xr-x
2018-12-03 18:37
import-mailvelope-keys.py
3.94
KB
-rwxr-xr-x
2019-02-19 20:07
keycount.py
1.42
KB
-rwxr-xr-x
2018-12-03 18:37
local-sign-group.py
5
KB
-rwxr-xr-x
2018-12-03 18:37
mutt-groups.py
2.39
KB
-rwxr-xr-x
2018-12-03 18:37
pmkey-import-alt.py
4.74
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import-hkp-alt.py
5.84
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import-hkp.py
4.68
KB
-rwxr-xr-x
2018-12-18 00:47
pmkey-import.py
4.18
KB
-rwxr-xr-x
2018-12-18 00:47
post_installer.py
4.56
KB
-rwxr-xr-x
2019-02-19 20:07
requirements.txt
16
B
-rw-r--r--
2018-12-18 00:47
revoke-userid.py
2.05
KB
-rwxr-xr-x
2018-12-07 18:20
send-key-to-keyserver.py
2.9
KB
-rwxr-xr-x
2018-12-07 18:20
sign-file.py
2.26
KB
-rwxr-xr-x
2018-12-03 18:37
sign-key.py
2.1
KB
-rwxr-xr-x
2018-12-07 18:20
symcrypt-file.py
2.18
KB
-rwxr-xr-x
2018-12-03 18:37
temp-homedir-config.py
4.2
KB
-rwxr-xr-x
2018-12-03 18:37
verify-signatures.py
2.02
KB
-rwxr-xr-x
2018-12-03 18:37
verify-signed-file.py
1.84
KB
-rwxr-xr-x
2018-12-03 18:37
Save
Rename
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from __future__ import absolute_import, division, unicode_literals # Copyright (C) 2018 Ben McGinnes <ben@gnupg.org> # # 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 2 of the License, or (at your option) any later # version. # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 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 and the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU General Public License and the GNU # Lesser General Public along with this program; if not, see # <https://www.gnu.org/licenses/>. import gpg import os.path print(""" This script signs or certifies a key. The gpg-agent and pinentry are invoked to enter the passphrase. """) c = gpg.Context() homedir = input("Enter the GPG configuration directory path (optional): ") fpr0 = input("Enter the fingerprint of the key to sign: ") userid = input("Enter the UID to sign (case sensitive, optional): ") sig_type = input("Enter the certification type (local or normal): ") if homedir.startswith("~"): if os.path.exists(os.path.expanduser(homedir)) is True: c.home_dir = os.path.expanduser(homedir) else: pass elif os.path.exists(homedir) is True: c.home_dir = homedir else: pass fpr = "".join(fpr0.split()) key = c.get_key(fpr, secret=False) if userid and sig_type.lower() == "local": c.key_sign(key, uids=userid, local=True) elif userid and sig_type.lower() != "local": c.key_sign(key, uids=userid) elif not userid and sig_type.lower() == "local": c.key_sign(key, local=True) else: c.key_sign(key)