Skip to content
Permalink
Browse files

fixed symlink and little fixes

  • Loading branch information...
alex-luminal committed Apr 15, 2015
1 parent 8de65b4 commit 41f98e357e25e94c118721c73ee384589c760b53
Showing with 2 additions and 158 deletions.
  1. +0 −157 credstash
  2. +1 −0 credstash
  3. +1 −1 credstash.py
157 credstash

This file was deleted.

Oops, something went wrong.
@@ -94,7 +94,7 @@ def getSecret(name, version="", region="us-east-1"):
endpoint = kms.get_endpoint(region)
kms_response = kms.get_operation('decrypt').call(endpoint, CiphertextBlob=material['key'])
if not kms_response[0].ok:
raise KmsError("Could not decrypt with KMS key %s" % kms_key)
raise KmsError("Could not decrypt with KMS")
key = kms_response[1]['Plaintext']
dec_ctr = Counter.new(128)
decryptor = AES.new(key, AES.MODE_CTR, counter=dec_ctr)

0 comments on commit 41f98e3

Please sign in to comment.
You can’t perform that action at this time.