-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
What
As a developer using the didcomm-swift library in a mobile app, I want the library to consistently use snake_case for created_time and expires_time fields in DIDComm messages, so that it follows the DIDComm specification and ensures consistency across all platforms.
Why
- The current implementation in the didcomm-swift library might be inconsistent in its use of snake_case (created_time and expires_time) for these fields, which should match the DIDComm specification.
- This inconsistency causes the message that is packed on the iOS side to not have fields
created_timeandexpires_timewhen unpacked on the Android side. Packing on the Android side follows the didcomm spec and these fields use snake case correctly.
Success Criteria
- Ensure that messages that are packed on the iOS side have the
created_timeandexpires_timefields when unpacked on the Android side.
Anything else
- Link to relevant code:
didcomm-rust/wrappers/swift/didcomm/didcomm.swift
Line 1378 in 4388350
public var createdTime: UInt64? - Link to didcomm spec: https://identity.foundation/didcomm-messaging/spec/v2.1/#plaintext-message-structure
Metadata
Metadata
Assignees
Labels
No labels