Cannot add public key to app

新規投稿

コメント

4件のコメント

  • Murtza

     

    The image below shows the expected format for the public key.

     

    public-key-format-box-api-documentaiton.png

     

    Are you including the full header and footer: '-----BEGIN PUBLIC KEY-----' AND '-----END PUBLIC KEY-----' in your input?

    0
    コメントアクション パーマリンク
  • chill-clientio

    No, I was not including those headers. But when including them I still get the same error. I will try to find somewhere that explains exactly how to generate this public key..

     

    Edit:

    For anyone else who has the same issue, this stackoverflow answer worked for me:

    http://stackoverflow.com/a/5246045

    1
    コメントアクション パーマリンク
  • morrowtfpx

    Box seems to now expect the key bit-length to be 2048, so adjust the number 1024 in this example to 2048

    0
    コメントアクション パーマリンク
  • bgotaski

    Hello there!

    I'm facing the same issue. I've tried with the StackOverflow link that she posted above but it didn't work for me.

    I'm only getting a message: "Verification failed. The public key seems to be malformed". And I'm not getting any other feedback besides this one.

    I've tried with the full header and footer and without it too for the RSA key.

    How can I solve that?

    I'm following this tutorial: https://developer.box.com/guides/applications/custom-apps/jwt-setup/
       Any suggestion?

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。