Update gitignore, another relative file fix

This commit is contained in:
Itay Mizeretz 2018-05-23 16:09:35 +03:00
parent 0c6f9cb7c2
commit a594bd11c2
2 changed files with 6 additions and 6 deletions

10
.gitignore vendored
View File

@ -62,9 +62,9 @@ docs/_build/
# PyBuilder # PyBuilder
target/ target/
db
bin bin
/monkey_island/cc/server.key /monkey/monkey_island/db
/monkey_island/cc/server.crt /monkey/monkey_island/cc/server.key
/monkey_island/cc/server.csr /monkey/monkey_island/cc/server.crt
monkey_island/cc/ui/node_modules/ /monkey/monkey_island/cc/server.csr
/monkey/monkey_island/cc/ui/node_modules/

View File

@ -9,7 +9,7 @@ __author__ = "itay.mizeretz"
class Encryptor: class Encryptor:
_BLOCK_SIZE = 32 _BLOCK_SIZE = 32
_DB_PASSWORD_FILENAME = "mongo_key.bin" _DB_PASSWORD_FILENAME = "monkey_island/cc/mongo_key.bin"
def __init__(self): def __init__(self):
self._load_key() self._load_key()