Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decode_key() key overwrite #40

Closed
davinerd opened this issue Aug 29, 2011 · 0 comments
Closed

decode_key() key overwrite #40

davinerd opened this issue Aug 29, 2011 · 0 comments
Labels
Milestone

Comments

@davinerd
Copy link
Member

when decoding tomb key from image file, decode_key() overwrite an existing file:

steghide extract -sf ${imagefile} -p ${tombpass} -xf -
| awk '
BEGIN {
print "-----BEGIN PGP MESSAGE-----"
}
{ print $0 }
END {
print "-----END PGP MESSAGE-----"
}' > ${keyfile}

no check is made to ensure ${keyfile} already exist.

davinerd added a commit to davinerd/Tomb that referenced this issue Sep 4, 2011
… the execution of tomb in case of keyfile already present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant