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

Obfuscated OpenSSH as a patch #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Obfuscated OpenSSH as a patch #6

wants to merge 1 commit into from

Conversation

DrDub
Copy link

@DrDub DrDub commented Dec 24, 2013

Hi,

We discussed there might be some value on having your changes as a patch file, here it is.

The first import (commit 3a68b4d) refers to the files
as "Pristine OpenSSH 5.2 portable sources". Assuming that is correct, I checked out a second
copy of the repo to that particular commit and then did a

diff -Naur /path/to/pristine /path/to/obfuscated > obfuscated-openssh.patch

(the .git folders need to be moved away for this to work)

The output is 1,211 lines long.

Another command I considered was

git format-patch -12 HEAD --stdout

which produces a nice file, too, but each commit is applied in order (and the file is 1,630 lines long).

Hopefully this can help update this patch to a more recent version of OpenSSH.

Thanks for making your patches available!

The first import (commit 3a68b4d) refers to the files
as "Pristine OpenSSH 5.2 portable sources". Assuming that is correct, I checked out a second
copy of the repo to that particular commit and then did a

diff -Naur /path/to/pristine /path/to/obfuscated > obfuscated-openssh.patch

(the .git folders need to be moved away for this to work)

The output is 1,211 lines long.

Another command I considered was

git format-patch -12 HEAD --stdout

which produces a nice file, too, but each commit is applied in order (and the file is 1,630 lines long).
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.

2 participants