Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Credentials & Tidal
22-06-2015, 09:11 PM
Post: #10
RE: Credentials & Tidal
(22-06-2015 08:00 PM)Josef Wrote:  Hmmm - Are you saying that link is no good?
And openSSL is needed to generate proper key?
Sorry, the link is broken so I'm not sure how you're generating a key.

You don't have to use openssl. I was just showing how we've generated keys.


(22-06-2015 08:00 PM)Josef Wrote:  Ok, no problem, I tried running openSSL like this:

C:\OpenSSL-Win32\bin>openssl genrsa -out privkey.pem 2048
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating RSA private key, 2048 bit long modulus


C:\OpenSSL-Win32\bin>openssl rsa -in privkey.pem -pubout
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
writing RSA key
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzLy7SjHUkpnZtZ5mFJZ0
EXyiUpPaPOU4Q9tLa9odE7dqsOeEDY6nam/CKZRuSX1TL8wZx2+0BzcfYHiidXPi
oSsKI5j5QPwfDdcyw+FaRh4AybxrzLEnaKLJkeVnykkAxZU8b4LyypZijD+wl7Vf
1skB8mAfYJBJCb/3k33bBRiZ8XzIeUyLV3L9Znrv3bvS/Nerqf3TVXDmH+e0qADw
kI4HAsSv9wX4kThoTpWcYxrz4ox2LJD6jFN2hlp+8JA58cISvji8E+xs0D95dZUK
gSmvRrzrSiK6LkfNgjR1Rz0b+uww1P9AcjUfIFWs75qxAI/kr5f05IhgoNfwRmRC
nQIDAQAB
-----END PUBLIC KEY-----

So I copied this to:

SetPropertyPublicKey("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzLy7SjHUkpnZtZ5mFJZ0EXyiUpPaPOU4Q9tL​a9odE7dqsOeEDY6nam / CKZRuSX1TL8wZx2 + 0BzcfYHiidXPioSsKI5j5QPwfDdcyw + FaRh4AybxrzLEnaKLJkeVnykkAxZU8b4LyypZijD + wl7Vf1skB8mAfYJBJCb / 3k33bBRiZ8XzIeUyLV3L9Znrv3bvS / Nerqf3TVXDmH + e0qADwkI4HAsSv9wX4kThoTpWcYxrz4ox2LJD6jFN2hlp + 8JA58cISvji8E+xs0D95dZUKgSmvRrzrSiK6LkfNgjR1Rz0b + uww1P9AcjUfIFWs75qxAI / kr5f05IhgoNfwRmRCnQIDAQAB");


No difference - Kazoo crashed with same error as before Sad

What's the catch? Smile

The value you passed to SetPropertyPublicKey is different to the key you generated. You need to pass exactly that key - BEGIN/END lines and newlines inside the key and all.
Find all posts by this user


Messages In This Thread
Credentials & Tidal - Josef - 22-06-2015, 12:05 PM
RE: Credentials & Tidal - simonc - 22-06-2015, 12:24 PM
RE: Credentials & Tidal - Josef - 22-06-2015, 12:42 PM
RE: Credentials & Tidal - simonc - 22-06-2015, 02:16 PM
RE: Credentials & Tidal - Josef - 22-06-2015, 02:47 PM
RE: Credentials & Tidal - simonc - 22-06-2015, 03:36 PM
RE: Credentials & Tidal - Josef - 22-06-2015, 04:05 PM
RE: Credentials & Tidal - simonc - 22-06-2015, 07:15 PM
RE: Credentials & Tidal - Josef - 22-06-2015, 08:00 PM
RE: Credentials & Tidal - simonc - 22-06-2015 09:11 PM
RE: Credentials & Tidal - Josef - 22-06-2015, 10:09 PM
RE: Credentials & Tidal - simonc - 23-06-2015, 12:44 PM
RE: Credentials & Tidal - Josef - 23-06-2015, 01:56 PM
RE: Credentials & Tidal - simonc - 23-06-2015, 01:59 PM
RE: Credentials & Tidal - Josef - 23-06-2015, 02:06 PM
RE: Credentials & Tidal - simonc - 23-06-2015, 02:52 PM
RE: Credentials & Tidal - Josef - 23-06-2015, 04:46 PM

Forum Jump: