2017-07-14, 14:09
Hey dmd, took a stab at using your encryption but I've hit a bump.
This is the command I've entered into shell:
$ python encryptFolder.py saltfile saltpass /home/user/crypt/source home/user/crypt/target
but it returns this error:
Traceback (most recent call last):
File "encryptFolder.py", line 27, in <module>
encrypt_dir(source, target)
File "encryptFolder.py", line 23, in encrypt_dir
encrypt.encryptFile(source + '/' + file, target +'/'+encrypt.encryptString(file))
TypeError: cannot concatenate 'str' and 'NoneType' objects
This is the command I've entered into shell:
$ python encryptFolder.py saltfile saltpass /home/user/crypt/source home/user/crypt/target
but it returns this error:
Traceback (most recent call last):
File "encryptFolder.py", line 27, in <module>
encrypt_dir(source, target)
File "encryptFolder.py", line 23, in encrypt_dir
encrypt.encryptFile(source + '/' + file, target +'/'+encrypt.encryptString(file))
TypeError: cannot concatenate 'str' and 'NoneType' objects