mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 03:38:01 +00:00
encoder/simple_ssh: decrypting on box successfully
This commit is contained in:
@@ -54,7 +54,7 @@ class SimpleSSHDecrypt < StringEncoder
|
||||
self.outputs << {:secgen_leaked_data => {:data => Base64.strict_encode64(File.binread(privkey_path)), :filename => 'id_rsa', :ext => 'txt', :subdirectory => self.subdirectory}}.to_json
|
||||
ensure
|
||||
# Delete the local key files to avoid batch clashes
|
||||
# FileUtils.rm_r self.tmp_path
|
||||
FileUtils.rm_r self.tmp_path
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user