Digitally Signing XML files #23
criadoperez
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As we continue to integrate blockchain technology with decentralized storage solutions like IPFS, ensuring the authenticity and integrity of data becomes crucial. One critical aspect is digitally signing XML files, which are commonly used in DDEX messages. This post explores two primary methods for digitally signing XML files and their implications, particularly when signatures might need to be verified on-chain.
Option 1: Using Ethereum Private Key for Signatures
Pros:
Cons:
Example Workflow:
Option 2: Using XMLDSig (XML Digital Signatures)
Pros:
Cons:
Example Workflow:
Conclusion
Both methods have their merits and challenges. Using Ethereum private key signatures offers efficiency and native support for on-chain verification but lacks standardization. In contrast, XMLDSig provides a standardized approach but presents significant challenges for on-chain verification due to its complexity and cost.
Beta Was this translation helpful? Give feedback.
All reactions