added hmac library and removed config options from the client
This commit is contained in:
@@ -9,6 +9,7 @@ import getpass
|
||||
import logging
|
||||
import secrets
|
||||
import base64
|
||||
import hmac as pyhmac
|
||||
from kmip.core import enums
|
||||
from kmip.demos import utils
|
||||
from kmip.pie import client
|
||||
@@ -262,7 +263,7 @@ if __name__ == "__main__":
|
||||
config = opts.config
|
||||
passphrase = opts.message
|
||||
print(pykmip_client_config_file)
|
||||
client = client.ProxyKmipClient(config=config, config_file=pykmip_client_config_file)
|
||||
client = client.ProxyKmipClient(config_file=pykmip_client_config_file)
|
||||
client.open()
|
||||
print(encrypt(client, "test"))
|
||||
client.close()
|
||||
|
||||
Reference in New Issue
Block a user