Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CommonCrypto #5

Closed
sdsykes opened this Issue · 11 comments

5 participants

@sdsykes

Is there any chance to use CommonCrypto instead of OpenSSL? I'd really like to get rid of all those deprecation warnings.

@glebd
Owner

This is 1st priority on my TODO list.

@mattstevens

CommonCrypto doesn't support public key cryptography as far as I know, but CocoaFob can be implemented using security transforms. I experimented with a rough implementation at one point, I'll clean it up a bit and post it later today in case it's useful.

@mattstevens

https://github.com/mattstevens/cocoafob/compare/security-transforms

Few notes:

  • I have not tested this much, ended up wanting to use shorter keys
  • Requires 10.7+
  • Removed the base64 extensions. These did not seem to be used but I expect were there as an implementation for the URL scheme so probably need a replacement.
  • Padding is handled automatically by the decode transform
@glebd
Owner

Thank you Matt, I have incorporated your implementation into the new branch "no_openssl".

@glebd glebd closed this
@sdsykes

Great - I'll try it out!

@ghost

The code in this branch gives me false positives for license verification.

@billymeltdown

Awesome, I was just looking for this, will give it a shot ;-)

@fjaeger

How is the status on this project?

@glebd
Owner

It's being used in production by quite a few people. I consider it stable.

@fjaeger

so, the failing license verifications, which are mentioned above, have been sorted out?!

@glebd
Owner

I can't reproduce it, it's working for me. TBH, I hadn't touched the code in a while, so if there is still a problem, let me know.

@sdsykes

Working ok here also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.