cryptonas-branches/pythonrewrite/bin2/test.py
2006-08-16 07:17:44 +00:00

10 lines
324 B
Python

from CryptoBox import CryptoBox
cb = CryptoBox()
#print "Allowed_Devices: %s" % (cb.getConfigValue("allowed_devices"), )
#print "non-existing: %s" % (cb.getConfigValue("alowed_devices"), )
print [e.device for e in cb.getContainerList()]
print "Config %s" % str(cb.getConfigValue("logfile"))
cb.setConfigValue("foo","bar")