X-Git-Url: https://v.licheni.net/stack/cam.git/blobdiff_plain/de74ecfb399e9c18e476104744856fde67ea2e81..112c04e3926d62291efd902a1dcb0b2d24feeb59:/lib/files.py?ds=inline diff --git a/lib/files.py b/lib/files.py deleted file mode 100644 index 5f16887..0000000 --- a/lib/files.py +++ /dev/null @@ -1,32 +0,0 @@ - -import os -from cfg import * -from paths import * - -fields = [ - ('conf', 'OpenSSL configuration file'), - ('rsa_key', 'RSA private key'), - ('rsa_crt', 'RSA certificate'), - ('dsa_key', 'DSA private key'), - ('dsa_crt', 'DSA certificate'), - ('dsa_parms', 'DSA parameters'), - ('public_crt', 'public certificates bundle'), - ('singlefile', 'single cert. file (with keys)') - ] - -def files(tag): - print ''' - -Files related to the '%s' certificates: - -''' % tag - for k, desc in fields: - p = getpath(k, tag) - star = ' ' - if not os.path.exists(p): - star = '*' - print '%-30s %s%s' % (desc, star, p) - - print '(* = not found)' - print -