0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Add more trimming

This commit is contained in:
Zack Scholl 2017-10-17 21:52:27 -06:00
parent 7291d87398
commit 8fa40cf95c

View file

@ -76,6 +76,9 @@ func runClient(connectionType string, codePhrase string) {
return return
} }
fmt.Println("\n\ndecrypting...") fmt.Println("\n\ndecrypting...")
log.Debugf("codePhrase: %s", codePhrase)
log.Debugf("filefileSaltIV: %s", fileSalt)
log.Debugf("fileIV: %s", fileIV)
decrypted, err := Decrypt(encrypted, codePhrase, fileSalt, fileIV) decrypted, err := Decrypt(encrypted, codePhrase, fileSalt, fileIV)
if err != nil { if err != nil {
log.Error(err) log.Error(err)