diff options
author | Rob Austein <sra@hactrn.net> | 2008-06-12 21:54:53 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-06-12 21:54:53 +0000 |
commit | a5845a3a4f65b5a43ae7732f7f700ebc372b03a6 (patch) | |
tree | b7a785ebe80b3a588d81f37a27232f0da42bc1e9 /rpkid/cross-certify.py | |
parent | a185e6e864e8781d844bbd8cd5f67a35ef99cd8c (diff) |
Module documentation
svn path=/rpkid/cronjob.py; revision=1880
Diffstat (limited to 'rpkid/cross-certify.py')
-rw-r--r-- | rpkid/cross-certify.py | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/rpkid/cross-certify.py b/rpkid/cross-certify.py index 1cd6dd95..db21ae6b 100644 --- a/rpkid/cross-certify.py +++ b/rpkid/cross-certify.py @@ -1,20 +1,5 @@ -# $Id$ - -# Copyright (C) 2007--2008 American Registry for Internet Numbers ("ARIN") -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH -# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -# AND FITNESS. IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT, -# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -# PERFORMANCE OF THIS SOFTWARE. - -"""Cross-certification tool to issue a new certificate based on an old +""" +Cross-certification tool to issue a new certificate based on an old one that was issued by somebody else. The point of the exercise is to end up with a valid certificate in our own BPKI which has the same subject name and subject public key as the one we're replacing. @@ -30,6 +15,22 @@ Usage: python cross-certify.py { -i | --in } input_cert [ { -h | --help } ] [ { -o | --out } filename (default: stdout) ] [ { -l | --lifetime } timedelta (default: 30 days) ] + +$Id$ + +Copyright (C) 2007--2008 American Registry for Internet Numbers ("ARIN") + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ARIN DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL ARIN BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. """ import os, time, getopt, sys, POW |