Skip to content

Simplify binding.gyp#149

Open
davedoesdev wants to merge 3 commits intoJoshKaufman:masterfrom
davedoesdev:master
Open

Simplify binding.gyp#149
davedoesdev wants to merge 3 commits intoJoshKaufman:masterfrom
davedoesdev:master

Conversation

@davedoesdev
Copy link
Copy Markdown
Contributor

On Windows, Node 6.3.0 exports the OpenSSL symbols which means we don't have to look for them. It also means we don't have hassle when OpenSSL change their library names as happened in 1.1.0.

Note if this change goes in then on Windows ursa would require Node 6.3.0 or above.
I'm not sure whether this would be an acceptable price to pay for more reliable Windows support going forward.

On Windows from Node 6.3.0 onwards the OpenSSL symbols are exported so we
don't need to look for them.
Further, OpenSSL 1.1.0 onwards has renamed the libraries so not relying on
a given name means we don't have to detect which version is installed.
@quartzjer
Copy link
Copy Markdown
Collaborator

I'm looking for a new maintainer: https://github.com/quartzjer/ursa#maintainer-needed

@davedoesdev
Copy link
Copy Markdown
Contributor Author

I guess the first question is what are the alternatives if ursa went away?
i.e. is there some other module which is viable for ursa's use cases?

@bpringe
Copy link
Copy Markdown

bpringe commented Feb 22, 2017

I have had no success install ursa on Node 6.10.0 or 7.6.0 on Windows 10. When you said 6.3.0 did you mean that version or earlier?

@JoshKaufman
Copy link
Copy Markdown
Owner

@davedoesdev it's been awhile since you worked on this, how do you feel about it?

  1. does this actually fix any issues or is it just cleaning up the binding.gyp.
  2. I think it makes sense to to require 6.3.0+ but it will have to be a major release.

@davedoesdev
Copy link
Copy Markdown
Contributor Author

I've moved away from ursa now. Core Node crypto does almost all I need now (PSS, OAEP). The only thing missing was fast keygen, which I wrote myself using N-API.

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.

4 participants