Tonomy-Foundation / Tonomy-ID-SDK

This Software Development Kit is used in Tonomy ID to interact and call with the Antelope blockchain and services. It is also used as the public API for integration by applications to do single sign-on, share credentials and sign transactions.
https://tonomy-id-sdk-tonomy-foundation.vercel.app
Apache License 2.0
5 stars 1 forks source link

Reduce URL down to below recommended sizes #316

Open theblockstalk opened 10 months ago

theblockstalk commented 10 months ago

When a URL with a wallet request, or wallet response is sent by the URL it can be very long. With 2x login request + 2x data sharing request the length was >9000 characters

Different servers and browsers support maximum limits:

We need to reduce the length of our URL. We could do this in A few obvious ways to me at the moment ( there may be other ways):

theblockstalk commented 9 months ago

I have tested did:key with the Veramo SDK: https://github.com/theblockstalk/learning/tree/master/veramo

Results

using did:key

using did:jwk

Also noted that it looks like did:key with Secp256k1 key does not currently support the keyAgreement needed to support DIDComm. See here https://discord.com/channels/878293684620234752/890207307433136178/1172839857006055484

theblockstalk commented 9 months ago

currently blocked by this to implement did:key https://github.com/Tonomy-Foundation/Tonomy-ID/issues/758

so to achieve this task we might need to make some big multi-repo build changes :( in

theblockstalk commented 9 months ago

currently blocked by this to implement did:key https://github.com/Tonomy-Foundation/Tonomy-ID/issues/758

so to achieve this task we might need to make some big multi-repo build changes to use the @veramo framework instead of directly with did-jwt :( in

And then application changes

theblockstalk commented 9 months ago

last sprint: 1 next sprint: 2

theblockstalk commented 1 month ago

Completed. See https://github.com/Tonomy-Foundation/Tonomy-ID-Integration/pull/193#issuecomment-2267712311