[Checkins] SVN: keas.kmi/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Wed Mar 6 14:55:10 UTC 2013


Log message for revision 130048:
  Moved to GitHub.

Changed:
  D   keas.kmi/trunk/CHANGES.txt
  A   keas.kmi/trunk/MOVED_TO_GITHUB
  D   keas.kmi/trunk/README.txt
  D   keas.kmi/trunk/bootstrap.py
  D   keas.kmi/trunk/buildout.cfg
  D   keas.kmi/trunk/generate-sample-cert.sh
  D   keas.kmi/trunk/sample.pem
  D   keas.kmi/trunk/server.ini
  D   keas.kmi/trunk/setup.py
  D   keas.kmi/trunk/src/
  D   keas.kmi/trunk/var/
  D   keas.kmi/trunk/zope.conf

-=-
Deleted: keas.kmi/trunk/CHANGES.txt
===================================================================
--- keas.kmi/trunk/CHANGES.txt	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/CHANGES.txt	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,83 +0,0 @@
-=======
-CHANGES
-=======
-
-2.1.1 (unreleased)
-------------------
-
-- No changes yet.
-
-2.1.0 (2010-10-07)
-------------------
-
-- Added a cache for unencrypted DEKs in the key management facility, like it
-  was already done for the local key management facility. This increases
-  encryption and decryption performance by an order of magnitude from roughly
-  2ms to 0.2ms.
-
-2.0.0 (2010-09-29)
-------------------
-
-- Refactored REST server to be a simple repoze.bfg application.
-
-- The encrypted data encrypting keys (DEKs) are now stored in a directory
-  instead of the ZODB. This increases transparency in the data store and makes
-  backups easier.
-
-- Added caching to directory-based facility, so we do not need to read files
-  all the time.
-
-1.1.1 (2010-08-27)
-------------------
-
-- Fixed deprecation warnings about md5 and zope.testing.doctest.
-
-1.1.0 (2010-08-25)
-------------------
-
-- Feature: Updated code to work with Bluebream 1.0b3.
-
-1.0.0 (2009-07-24)
-------------------
-
-- Feature: Update to the latest package versions.
-
-
-0.3.1 (2008-09-11)
-------------------
-
-- Relax M2Crypto version requirements to 0.18 or newer.
-
-
-0.3.0 (2008-09-04)
-------------------
-
-- A simple KeyHolder utility is available in keas.kmi.keyholder.
-
-
-0.2.0 (2008-09-04)
-------------------
-
-- Sample server shows how to enable SSL
-
-- Front page now shows the number of stored keys instead of a
-  ComponentLookupError message.
-
-- Command-line client for testing a remote Key Management Server
-
-- Bugfix: LocalKeyManagementFacility was broken (AttributeError: 'RESTClient'
-  object has no attribute 'POST')
-
-
-0.1.0 (2008-09-03)
-------------------
-
-- Initial Release
-
-  * Key Generation Service
-
-  * Encryption Service (Master and Local)
-
-  * REST API for key communication between encryption services
-
-  * Encrypted Persistent Storage

Added: keas.kmi/trunk/MOVED_TO_GITHUB
===================================================================
--- keas.kmi/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ keas.kmi/trunk/MOVED_TO_GITHUB	2013-03-06 14:55:09 UTC (rev 130048)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/keas.kmi
\ No newline at end of file

Deleted: keas.kmi/trunk/README.txt
===================================================================
--- keas.kmi/trunk/README.txt	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/README.txt	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,31 +0,0 @@
-This package provides a NIST SP 800-57 compliant Key Management Infrastructure
-(KMI).
-
-To get started do::
-
-  $ python bootstrap.py # Must be Python 2.5 or higher
-  $ ./bin/buildout     # Depends on successfull compilation of M2Crypto
-  $ ./bin/runserver    # or ./bin/paster serve server.ini
-
-The server will come up on port 8080. You can create a new key encrypting key
-using::
-
-  $ wget https://localhost:8080/new -O kek.dat --ca-certificate sample.pem
-
-or, if you want a more convenient tool::
-
-  $ ./bin/testclient https://localhost:8080/new -n > kek.dat
-
-The data encryption key can now be retrieved by posting the KEK to another
-URL::
-
-  $ wget https://localhost:8080/key --header 'Content-Type: text/plain' --post-file kek.dat -O datakey.dat --ca-certificate sample.pem
-
-or ::
-
-  $ ./bin/testclient https://localhost:8080/new -g kek.dat > datakey.dat
-
-Note: To be compliant, the server must use an encrypted communication channel
-of course.  The ``--ca-certificate`` tells wget to trust the sample self-signed
-certificate included in the keas.kmi distribution; you'll want to generate a
-new SSL certificate for production use.

Deleted: keas.kmi/trunk/bootstrap.py
===================================================================
--- keas.kmi/trunk/bootstrap.py	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/bootstrap.py	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,52 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2008 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-ez = {}
-exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                     ).read() in ez
-ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-import pkg_resources
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-if sys.platform == 'win32':
-    cmd = '"%s"' % cmd # work around spawn lamosity on windows
-
-ws = pkg_resources.working_set
-assert os.spawnle(
-    os.P_WAIT, sys.executable, sys.executable,
-    '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
-    dict(os.environ,
-         PYTHONPATH=
-         ws.find(pkg_resources.Requirement.parse('setuptools')).location
-         ),
-    ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)

Deleted: keas.kmi/trunk/buildout.cfg
===================================================================
--- keas.kmi/trunk/buildout.cfg	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/buildout.cfg	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,53 +0,0 @@
-[buildout]
-develop = .
-extends = http://download.zope.org/bluebream/bluebream-1.0b3.cfg
-parts = test coverage-test coverage-report python paster runserver testclient
-        ctags
-versions = versions
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = keas.kmi [test]
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = keas.kmi [test]
-defaults = ['--coverage', '${buildout:directory}/coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coveragereport=coverage-report
-arguments = ('coverage', 'coverage/report')
-
-[python]
-recipe = zc.recipe.egg
-eggs = keas.kmi
-interpreter = python
-
-[ctags]
-recipe = z3c.recipe.tag:tags
-eggs = keas.kmi
-
-[paster]
-recipe = zc.recipe.egg
-dependent-scripts = true
-eggs = keas.kmi
-       Paste
-       pyOpenSSL
-scripts = paster
-
-[runserver]
-recipe = zc.recipe.egg
-eggs = ${paster:eggs}
-scripts = paster=runserver
-arguments = ['serve', 'server.ini']
-
-[testclient]
-recipe = zc.recipe.egg
-eggs = keas.kmi
-
-[versions]
-setuptools = 0.6c12dev-r84273
-zc.buildout = 1.5.0
-zc.recipe.egg = 1.3.0

Deleted: keas.kmi/trunk/generate-sample-cert.sh
===================================================================
--- keas.kmi/trunk/generate-sample-cert.sh	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/generate-sample-cert.sh	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,6 +0,0 @@
-#!/bin/sh
-openssl genrsa 1024 > sample.key
-openssl req -new -x509 -nodes -sha1 -days 3650 -key sample.key > sample.cert
-cat sample.cert sample.key > sample.pem
-rm sample.key sample.cert
-

Deleted: keas.kmi/trunk/sample.pem
===================================================================
--- keas.kmi/trunk/sample.pem	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/sample.pem	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,31 +0,0 @@
------BEGIN CERTIFICATE-----
-MIICcTCCAdqgAwIBAgIJAMvA30EY1rKtMA0GCSqGSIb3DQEBBQUAMDAxCzAJBgNV
-BAYTAlVTMQ0wCwYDVQQKEwRLZWFzMRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMDgw
-OTA0MTU1MTU5WhcNMTgwOTAyMTU1MTU5WjAwMQswCQYDVQQGEwJVUzENMAsGA1UE
-ChMES2VhczESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GN
-ADCBiQKBgQDK17rB/KVaK8MVjiEkvA4ZncOOIC3nStZ/erXM+qwkghPM4Tfr2FTU
-iTgwwdLdu/ht74oWnppttfaTQ+sVz2rFXnPgfqKTGoJTwWFiuNuZhSRDVssGVnL/
-RatZW6wns8UNf+W4hUe6/vGQP6obNTe2T4R+t2hXP51OkOy4BMcq0QIDAQABo4GS
-MIGPMB0GA1UdDgQWBBQDIsX7HoSqbxKrCawi64MkXRmtmzBgBgNVHSMEWTBXgBQD
-IsX7HoSqbxKrCawi64MkXRmtm6E0pDIwMDELMAkGA1UEBhMCVVMxDTALBgNVBAoT
-BEtlYXMxEjAQBgNVBAMTCWxvY2FsaG9zdIIJAMvA30EY1rKtMAwGA1UdEwQFMAMB
-Af8wDQYJKoZIhvcNAQEFBQADgYEAW5UBM7EIMpARzQwpQ8N1gyTR/VqJ9fSm4MIw
-Y5m90HRgsDcXVbhn0rRfcC8o4EtGDvCjqsFYXy/ImF9tjEiuaysxbqepl+XMszPE
-1kO50quWsV1FLSdcJX6t/ofJYOxiQkqPvg9t/ovTnEZ+w4NfPo+0MJgudjJoD2+w
-5UTsKtU=
------END CERTIFICATE-----
------BEGIN RSA PRIVATE KEY-----
-MIICXQIBAAKBgQDK17rB/KVaK8MVjiEkvA4ZncOOIC3nStZ/erXM+qwkghPM4Tfr
-2FTUiTgwwdLdu/ht74oWnppttfaTQ+sVz2rFXnPgfqKTGoJTwWFiuNuZhSRDVssG
-VnL/RatZW6wns8UNf+W4hUe6/vGQP6obNTe2T4R+t2hXP51OkOy4BMcq0QIDAQAB
-AoGAHcDJDx1M784NfoLrj6TZ+J3wik9kDFIo5mgMdLWsPGqsFthOSJTh1I8QI+66
-THX++bkyKyE2i7MuKOnEeN2Ezo2jAThF7XoWhm6/+pSXhSqmL1jKr/1CZRaR9jv0
-cCVJc3mTuAGH+yFVeGpWNvDaCmOUlD5M48xTROJXteDQ0TECQQDuDM9pmQdqkGIp
-dvbIviS8donYn0kJ0TKS14pMtb/C63lcld513rHS43ru3FRY9baR/q5vV9vW5RhH
-S7w4cYvVAkEA2iNLsFEAkY88oZJYbdyybeKxZdReyes1/zPe4RYzRdbDHRNAa+zk
-mZIZDI820E0Y+DeoT+q3nXkXiiOS/iRNDQJBAKdAvOH2sO1AcJetjArS/cCkkIlw
-sMKDB0OAyRzIfekXxPc2HU03oD0Jsy/sAh9W1GWTST/VvRIpeHtvTNljfdkCQF5T
-UuBcNoW6zXoEYU6oV1Oi6hjhW1eu6PuAv4jPY754XoiNEZdZqYQqo8BFkWtDW1/C
-GXrtQRbMDPzD40UYB2UCQQCmJpJp+u2lHj7zuZikHIHQBNyXyoGnzgNs6XUj1Bs6
-Y4vjue8w6RkRLZ1YGP+xqsngVqb9IRygyLDpEgwEnOT4
------END RSA PRIVATE KEY-----

Deleted: keas.kmi/trunk/server.ini
===================================================================
--- keas.kmi/trunk/server.ini	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/server.ini	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,43 +0,0 @@
-[app:main]
-use = egg:keas.kmi
-storage-dir=keys/
-
-[server:main]
-use = egg:Paste#http
-host = 0.0.0.0
-port = 8080
-ssl_pem = sample.pem
-
-# Logging Configuration
-[loggers]
-keys = root, kmi
-
-[handlers]
-keys = console, file
-
-[formatters]
-keys = generic
-
-[logger_root]
-level = WARN
-handlers = console
-
-[logger_kmi]
-level = INFO
-handlers = console
-propagate = 0
-qualname = kmi
-
-[handler_file]
-class = FileHandler
-args = ('source-cache.log',)
-formatter = generic
-
-[handler_console]
-class = StreamHandler
-args = (sys.stdout,)
-formatter = generic
-
-[formatter_generic]
-format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s
-datefmt= %Y-%m-%d %H:%M:%S

Deleted: keas.kmi/trunk/setup.py
===================================================================
--- keas.kmi/trunk/setup.py	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/setup.py	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,76 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2008 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-$Id$
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup (
-    name='keas.kmi',
-    version = '2.1.1dev',
-    author = "Stephan Richter and the Zope Community",
-    author_email = "zope-dev at zope.org",
-    description = "A Key Management Infrastructure",
-    long_description=(
-        read('README.txt')
-        + '\n\n' +
-        read('src', 'keas', 'kmi', 'README.txt')
-        + '\n\n' +
-        read('src', 'keas', 'kmi', 'persistent.txt')
-        + '\n\n' +
-        read('CHANGES.txt')
-        ),
-    license = "ZPL 2.1",
-    keywords = "security key management infrastructure nist 800-57",
-    classifiers = [
-        'Development Status :: 5 - Production/Stable',
-        'Environment :: Web Environment',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Zope Public License',
-        'Programming Language :: Python',
-        'Natural Language :: English',
-        'Operating System :: OS Independent',
-        'Topic :: Internet :: WWW/HTTP'],
-    url = 'http://pypi.python.org/pypi/keas.kmi',
-    packages = find_packages('src'),
-    include_package_data = True,
-    package_dir = {'':'src'},
-    namespace_packages = ['keas'],
-    extras_require = dict(
-        test = [
-            'zope.testing',
-            'zope.app.testing',
-            ],
-        ),
-    install_requires = [
-        'M2Crypto',
-        'repoze.bfg',
-        'setuptools',
-        'transaction',
-        'zope.interface',
-        'zope.schema',
-        ],
-    zip_safe = False,
-    entry_points = """
-    [console_scripts]
-    testclient = keas.kmi.testclient:main
-
-    [paste.app_factory]
-    main = keas.kmi.wsgi:application_factory
-    """,
-)

Deleted: keas.kmi/trunk/zope.conf
===================================================================
--- keas.kmi/trunk/zope.conf	2013-03-06 14:55:04 UTC (rev 130047)
+++ keas.kmi/trunk/zope.conf	2013-03-06 14:55:09 UTC (rev 130048)
@@ -1,23 +0,0 @@
-site-definition src/keas/kmi/application.zcml
-
-<zodb>
-  <filestorage>
-    path var/Data.fs
-  </filestorage>
-</zodb>
-
-<eventlog>
-  # This sets up logging to both a file and to standard output
-  # (STDOUT).  The "path" setting can be a relative or absolute
-  # filesystem path or the tokens STDOUT or STDERR.
-
-  <logfile>
-    path var/zope.log
-    formatter zope.exceptions.log.Formatter
-  </logfile>
-
-  <logfile>
-    path STDOUT
-    formatter zope.exceptions.log.Formatter
-  </logfile>
-</eventlog>



More information about the checkins mailing list