Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    REST API/Encryption

    General Sony related developer discussions
    2
    2
    2852
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tmrobert8 last edited by tmrobert8

      Hello, I've developed the sony addon for openHAB (implements simpleip, dial, ircc and rest apis for sony devices). I've got pretty much everything working with ONE exception. Encryption as documented in https://pro-bravia.sony.net/develop/integrate/rest-api/doc/Data-Encryption_401146660/index.html

      I've tried to implement this numerous times and in different ways but I ALWAYS get the 40002 Encryption Failed message back from the server (when trying to simply do a getTextForm(). What the documentation is very light on is the AES key generation (do I use IV?) and what exactly get's encrypted by the RSA key and sent back to the server (does it include the IV? is it base64 encoded {I assume it is}?).

      Is it possible to get a step by step guide, psuedo code or maybe just a quick code demonstration (don't care about what language)? Any help would be appreciated..

      Thanks,
      Tim

      1 Reply Last reply Reply Quote
      • D
        david DeveloperWorld last edited by

        @tmrobert8 Sorry I can't help you, don't have any experience with the encryption module and I only have access to the Audio products and they don't use the encryption.

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal