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 -*- # Copyright (C) 2016-2018 g10 Code GmbH # Copyright (C) 2015 Ben McGinnes <ben@adversary.org> # # This library 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 library 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 # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA from __future__ import absolute_import, print_function, unicode_literals import glob import os import os.path import shutil import subprocess import sys import sysconfig from shutil import which del absolute_import, print_function, unicode_literals try: emacs = os.path.realpath(which("emacs")) except TypeError as e: emacs = None try: makeinfo = os.path.realpath(which("makeinfo")) except TypeError as e: makeinfo = None try: pandoc = os.path.realpath(which("pandoc")) except TypeError as e: pandoc = None try: texinfo = os.path.realpath(which("texinfo")) except TypeError as e: texinfo = None docsrc = glob.glob('doc/src/**/*', recursive=True) for srcdoc in docsrc: process = subprocess.Popen([emacs, srcdoc, "--batch", "-f", "org-texinfo-export-to-texinfo", "--kill"], stdout=subprocess.PIPE) procom = process.communicate() doctexi1 = glob.glob('doc/src/**/*.texi', recursive=True) doctexi2 = [] doctexi3 = [] for texi in doctexi1: doctexi2.append(os.path.realpath(texi)) for texdoc in doctexi2: newtex = texdoc.replace("doc/src/", "doc/texinfo/") doctexi3.append(newtex) with open(texdoc, "r") as f: badtex = f.read() goodtex = badtex.replace("@documentencoding UTF-8\n", "@documentencoding utf-8\n") with open(newtex, "w") as f: f.write(goodtex) for srcdoc in docsrc: rstdoc = "{0}.rst".format(srcdoc.replace("doc/src/", "doc/rst/")) process = subprocess.Popen([pandoc, "-f", "org", "-t", "rst+smart", "-o", rstdoc, srcdoc], stdout=subprocess.PIPE) procom = process.communicate() with open("doc/rst/index.rst", "r") as f: genindex = f.readlines() indextop = ['.. GPGME Python Bindings documentation master file, created by\n', ' sphinx-quickstart on Wed Dec 5 09:04:47 2018.\n', ' You can adapt this file completely to your liking, but it should at least\n', ' contain the root `toctree` directive.\n', '\n', 'GPGME Python Bindings\n', '=====================\n', '\n', '.. toctree::\n', ' :maxdepth: 3\n', ' :caption: Contents:\n', '\n'] with open("doc/rst/index.rst", "w") as f: for line in indextop: f.write(line) for line in genindex[5:]: f.write(line) with open("doc/rst/Makefile", "w") as f: f.write("""# Minimal makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build SOURCEDIR = . BUILDDIR = _build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) """) info_path = os.path.realpath(sysconfig._PREFIX + "/share/info") info_paths = os.environ["INFOPATH"].split(":") if info_paths.count(info_path) == 0: info_paths.insert(0, info_path) else: pass for ipath in info_paths: if os.path.exists(os.path.realpath(ipath)) is False: info_paths.remove(ipath) else: pass # Remove the old generated .texi files from the org source directory. for texifile in doctexi2: os.remove(texifile) print(""" You may now build your preferred documentation format using either: 1. Sphinx in the doc/rst/ directory; and/or 2. Texinfo or Makeinfo in the doc/texinfo/ directory. Alternatively the original Org mode source files can be found in the doc/src/ directory. """)