The latest QuarkID update, implemented using the SSI API and ID Connect by Extrimian, introduces a critical feature for decentralized information management: VC Attachments. This functionality allows the inclusion of files, such as PDFs, images, and other formats, in verifiable credentials, providing additional context or evidence to support the information contained within the credentials.
What Are VC Attachments?
VC Attachments enhance the handling, storage, and linking of attachments to verifiable credentials. Issued under the Verifiable Credentials (VC) standard, these are cryptographically signed digital documents containing verifiable data.
The inclusion of attachments ensures that any relevant supplementary information is securely available and managed, preserving the integrity and reliability of shared or stored documents.
Rapid Implementation
What is the @quarkid/vc-attachments-agent-plugin?
The @quarkid/vc-attachments-agent-plugin is a plugin designed to expand the functionality of SSI agents, enabling secure management of file attachments in verifiable credentials. This plugin is essential for users who need to attach additional documents to their credentials, broadening their utility across various contexts.
Installation
The plugin can be installed using npm as the package manager:
npm install @quarkid/vc-attachments-agent-plugin
Usage in Mobile Agents
To integrate the plugin into a mobile agent:
- Import the plugin into your project.
- Configure appropriate storage for file attachments.
- Add the plugin to the agent’s list of plugins to streamline the attachment management process during credential interactions.
For detailed instructions, refer to the step-by-step guide in the documentation.
Interaction with ID Connect SSI API
API Integration Service
The SSI API provides two main endpoints for managing attachments:
- PUT /attachment/filepath
Returns the file storage URL, allowing access to previously saved files. - POST /attachment/upload
Facilitates the upload of new files to the API, offering a secure and direct method for storing additional information related to a credential.
Use Cases
Retrieving Attachments
To retrieve attachments linked to a specific credential, use the getFileAttachments method, which fetches associated files.
Uploading Attachments
Uploading involves sending the file via a multipart form, along with detailed metadata, including a hash to ensure authenticity.
Learn More
- Documentation on VC attachments: Explore advanced configurations and capabilities.
- VC Wiki: Deepen your understanding of verifiable credentials and their applications.
- VC Issuance and usage guide: Master the creation and management of VCs.
- Visit the Extrimian Academy for courses and resources to help optimize your projects with verifiable information.
Start building, managing, and verifying digital information with Extrimian today to enhance the efficiency and security of your business operations.