【问题标题】:ios over-the-air encrypted profile deliveryios 无线加密配置文件交付
【发布时间】:2011-12-20 07:43:23
【问题描述】:

我一直在完成无线配置文件交付实施。

在标题为“为无线注册和配置创建配置文件服务器”的部分中,在第 25 页的第 3 阶段:设备配置中,它讨论了交付最终的加密捆绑包 - 应该以静默方式添加到设备。

但是,我对以下内容感到困惑:

configuration = configuration_payload(req, encrypted_profile.to_der)

下一段说负载类似于配置文件服务负载,带有 UDID、VERSION 等的负载。然后它指出“唯一的区别是它携带的负载”。

此有效负载/配置包的格式是什么。特别是,加密的捆绑包在其中的什么位置? - 使用 based64 挑战部分?

感谢您对此的任何帮助。很难确定这里的格式是什么(相应的配置包 plist 的元素是什么),但看起来加密的包被签名的包包裹了。重申一下,目前尚不清楚包装器配置包的格式是什么。

【问题讨论】:

    标签: ios bundle config ota


    【解决方案1】:

    The Apple document you are referring to 有一个附加文件,其中包含完整的 ruby​​ 脚本和参考实现。您要求的功能的代码:

    def configuration_payload(request, encrypted_content)
        payload = general_payload()
        payload['PayloadIdentifier'] = "com.acme.intranet"
        payload['PayloadType'] = "Configuration" # do not modify
    
        # strings that show up in UI, customisable
        payload['PayloadDisplayName'] = "Encrypted Config"
        payload['PayloadDescription'] = "Access to the ACME Intranet"
        payload['PayloadExpirationDate'] = Date.today # expire today, for demo purposes
    
        payload['EncryptedPayloadContent'] = StringIO.new(encrypted_content)
        Plist::Emit.dump(payload)
    end
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-23
      • 2013-08-23
      相关资源
      最近更新 更多