Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Credentials & Tidal
22-06-2015, 10:09 PM
Post: #11
RE: Credentials & Tidal
Thanks again for really fast response Smile

Link is either messed up or somehow modified by forum software - just remove ')' at end and it should work, no problem Smile Like this:

http://travistidwell.com/jsencrypt/demo/
(there should not be ')' at end!)

But anyway, if I get you correctly it's really about CR/LF codes that somehow got lost and messed up the key?

That's great to hear! How do you copy/paste such a key?
For example:

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-----

Becomes after copy/paste:

SetPropertyPublicKey("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzLy7SjHUkpnZtZ5mFJZ0
EXyiUpPaPOU4Q9tLa9odE7dqsOeEDY6nam / CKZRuSX1TL8wZx2 + 0BzcfYHiidXPi
oSsKI5j5QPwfDdcyw + FaRh4AybxrzLEnaKLJkeVnykkAxZU8b4LyypZijD + wl7Vf
1skB8mAfYJBJCb / 3k33bBRiZ8XzIeUyLV3L9Znrv3bvS / Nerqf3TVXDmH + e0qADw
kI4HAsSv9wX4kThoTpWcYxrz4ox2LJD6jFN2hlp + 8JA58cISvji8E+xs0D95dZUK
gSmvRrzrSiK6LkfNgjR1Rz0b + uww1P9AcjUfIFWs75qxAI / kr5f05IhgoNfwRmRC
nQIDAQAB");

Which clearly won't compile - What is the proper way to get it into PublicKey? Smile
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: