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

Can't get it to work :( #2

Open
turowicz opened this issue Sep 24, 2014 · 1 comment
Open

Can't get it to work :( #2

turowicz opened this issue Sep 24, 2014 · 1 comment

Comments

@turowicz
Copy link

First of all - awesome project!

Unfortunately I can't get it to work.

Here's what I've done:

  • Download the code
  • Open the project
  • Generate keys with the script and paste them as a String value (to skip reading from file)

Error:
EXC_BAD_ACCESS(code=1), on:

  size_t keyBlockSize = SecKeyGetBlockSize(publicKeyRef);

publicKeyRef is 0x0

Console:
Crypto[23626:3088746] encrypt
Crypto[23626:3088746] getPublicKeyRef: result code: -25300 (null)

Any guidance on what I'm doing wrong? I've tried both generating the keys with the script and other ways of generating them as well.

@slavshik
Copy link
Owner

Hello.
Thanks for your feedback, sorry for long answer. Unfortunately I cannot check actuality of code now, but be free to suggest any fixes :)

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

No branches or pull requests

2 participants