SKAdNetwork: does registered ad network need to update keys from p192v1 to p256v1?

Previously in documentation for registering ad network (https://developer.apple.com/documentation/storekit/skadnetwork/registering_an_ad_network?language=objc) it was written that private-public keys should be generated using prime192v1 curve. We've generated our keys according to the doc. We are still successfully receiving SKAdNetwork v2 postbacks with our keys.
Now it is written that curve should be prime256v1.

Should we regenerate our keys and send new public key to Apple? What is the process of updating public key?
Does anyone already updated from p192 to p256 and is receiving postbacks with updated keys?

Thanks in advance!
Hi Elena-20.

Did you resolve your question?

We have the same problem (distributed p192, not sure it we must change to p256 and how to do it)
Hi zedwill!
No, it is still not clear if we should change or not.
Hi,

any news here? Our last successful test with p192 was 19th of November 2020. Since then we paused development. Today we restarted our efforts and aren't receiving postbacks anymore with no change in code or setup.
I wonder if this is connected to p192?

Thx!
Hi fmaschmeier.

We can receive skadnetwork version 2.0 postback using p192.

You should try to reinstall test profile, the profile expires in two weeks. https://developer.apple.com/documentation/storekit/skadnetwork/downloading_a_testing_profile

If your profile is recently installed, then you should reboot you phone.

Hi Elena-20

Can you receive skadnetwork version 2.2 StoreKit-Rendered postback using prime256v1 ?
Hi fmaschmeier!
The latest test which I performed couple of days ago on device with iOS 14.3 with SKAdNetwork v2.1, with our p192 private key has succeeded. Postback has arrived as expected.

Also I made tests during last week and today on device with iOS 14.5 beta, with SKAdNetwork v2.1 and v2.2 (checked StoreKit and view-through attribution) - there are no postbacks. As I can see from Console logs, for view-through attribution Apple are making version check and “2.2” for some reason is considered “incorrect version”.
For StoreKit attribution there is error messages related to “fidelity-type”. Looks like Apple’s bugs or SKAdNetwork 2.2 is still not enabled.


Hi roofeel!
I haven’t tried to use prime256v1 since our key was generated using prime192 elliptic curve, for signature I am using prime192 EC and it still works for SKAdNetwork v2.1 and iOS 14.3.
For SKAdNetwork v2.2 and iOS 14.5 beta it doesn’t work, no postbacks, but it seems it’s not related to the key or prime192 vs prime256 so far.
Have you checked Console logs from device when you present StoreKit controller, downloading advertised app and opening it? I see the following:
Code Block
default 17:29:24.867316+0200 ProductPageExtension SKAdNetwork - Preparing to add install attribution parameters Source App Adam ID: 31bca02094eb78126a517b206a88c73cfa9ec6f704c7030d18212cace820f025f00bf0ea68dbf3f3a5436ca63b53bf7bf80ad8d5de7d8359d0b7fed9dbc3ab99 Source App Bundle ID: 2f884d30b0b87a0fc88af6cf9a10bc0d9a8a2b9b14be84697ca1bb6ea285a5999eb570af1d8aeca91b014582d5ae230fc1a853b17ded684b5f487778b8ecad6a
default 17:29:24.867409+0200 ProductPageExtension Adding install attribution params from bundleID: <mysampleappbundle ID> adamID: 0
default 17:29:24.867619+0200 appstored [XPCServiceEntitlements]: We have the entitlement: com.apple.itunesstored.private for pid: 1172 result: 1
error 17:29:24.899281+0200 appstored table install_attribution_params has no column named fidelity_type in "INSERT OR REPLACE INTO install_attribution_params (ROWID, campaign_id, ad_network_id, attribution_signature, source_app_adam_id, local_timestamp, version, app_adam_id, timestamp, fidelity_type, impression_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);"
default 17:29:24.899404+0200 appstored [0x1007c6fc0ublic}@] Error: Error Domain=SQLiteErrorDomain Code=1 "table install_attribution_params has no column named fidelity_type" UserInfo={NSLocalizedDescription=table install_attribution_params has no column named fidelity_type}


@Elena-20 In view-through ad I have received the same error log: Start impression called by source app bundle ID:com.xxx.xxx, adam ID:0 with incorrect version number.
Have you resolved the problem?
SKAdNetwork: does registered ad network need to update keys from p192v1 to p256v1?
 
 
Q