Mercurial > hg > config
comparison python/gpg_add.py @ 848:a3ee050ae568
[documentation] reference links
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Tue, 17 Oct 2017 12:05:19 -0700 |
| parents | 6c918c07d0e3 |
| children |
comparison
equal
deleted
inserted
replaced
| 847:6c918c07d0e3 | 848:a3ee050ae568 |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 """ | 3 """ |
| 4 add a line to a gpg file; requires `gpg` on your path | 4 add a line to a gpg file; requires `gpg` on your path |
| 5 """ | 5 """ |
| 6 | |
| 7 # Reference: | |
| 8 # - https://www.gnupg.org/gph/en/manual/x110.html | |
| 9 # - https://www.gnupg.org/gph/en/manual/x56.html | |
| 10 # - http://tuxlabs.com/?p=450 | |
| 6 | 11 |
| 7 import argparse | 12 import argparse |
| 8 import os | 13 import os |
| 9 import shutil | 14 import shutil |
| 10 import subprocess | 15 import subprocess |
