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

Clarify README, destroy by default and fix temp dir bug #1

Merged
merged 3 commits into from Apr 24, 2013

Conversation

pjvds
Copy link
Contributor

@pjvds pjvds commented Apr 24, 2013

I've changed three things. The readme, default behaviour and fixed a bug in temp dir location generation.

README.md

I've added all defaults to the parameters listed in the readme.

Default behaviour

Detroy is now enabled by default. This is the safest way to use ssh-keygen because it leaves no evidence by default. It also generates the lowest waste, which keeps the temp dir clean by default.

Temp dir location generation

When location is not provided, ssh-keygen generates a temp path. This generation didn't split the temp directory and key directory name with a slash. I changed the code to use path.join.

The safest thing is to destroy all evidence, so destroy by default.
The os.tmpDir() and 'id_rsa' where concatenated without a slash. Use the path.join method to join the directories which will add a slash if needed.
@ericvicenti
Copy link
Owner

Looks good, thanks for the contribution!

ericvicenti added a commit that referenced this pull request Apr 24, 2013
Clarify README, destroy by default and fix temp dir bug
@ericvicenti ericvicenti merged commit 4bbbf3f into ericvicenti:master Apr 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants