UNPKG

digital-credentials

Version:

Digital Credentials API and Passkey in typescript

82 lines (47 loc) 4.21 kB
# Verifiable Digital Credentials (VDCs) 🪪 Welcome to **Verifiable Digital Credentials (VDCs)**, the easiest way to handle digital credentials in your apps and services! 🚀 In the fast-evolving world of digital identity management, dealing with various standards like **SD-JWT**, **mDL (ISO)**, and **W3C VCDM** can be overwhelming for developers. Our mission is simple: **to make it easy, fast, and secure** for you to issue, verify, and manage digital credentials without getting lost in the weeds of complex protocols. 💡 Ready to start building the future of digital identity? 🛠️ Let’s get started! 🚀 ## Features 🌟 ### 🏭 **Batteries Included** Everything you need for modern identity management is included out of the box! Whether you're building an **Issuer**, **Verifier**, or **Holder (ID Wallet)**, this library has it all. No need to deal with multiple dependencies or configurations—just plug and play! ⚡ ### 🛡️ **Secure by Design** Security is at the core of everything we do. This library is built with **Zero Trust Architecture** and **best security practices** to ensure your credentials are safe, no matter what. 🔐 - Built-in protection against common attack vectors 🛡️ - Regular external security audits to ensure ongoing safety 🔍 - Automatic application of security best practices 🏅 ### 🎯 **Type-Safe** Built with **TypeScript** in mind, this library provides **comprehensive types**, ensuring your code is as safe and predictable as possible. 💎 You'll get full **type-safety** for your objects and APIs, making development smoother and error-free. - **Comprehensive TypeScript types** for better developer experience 📝 - Detailed **error messages** to help you troubleshoot faster 🛠️ ### 🪶 **Lightweight** Fast, minimal, and efficient. This library is designed to be as lightweight as possible, meaning no unnecessary bloat—just what you need to get the job done quickly and efficiently. ⚡ ## Why Choose VDCs? 🤔 - **Easy to Use**: No need to study complex standards or protocols—just use the simple API and get started immediately. 🎉 - **Highly Secure**: You can trust this library to protect your data with top-notch security practices. 🔒 - **Scalable**: Whether you're building a small app or an enterprise-level solution, VDCs scales with your needs. 📈 - **Developer-Friendly**: With intuitive APIs and detailed TypeScript types, you’ll spend more time coding and less time debugging. 💻 ## Getting Started 🏁 [Verifiable Digital Credentials Docs](https://lukasjhan.github.io/Verifiable-Digital-Credentials/) ## Architecture 🏗️ ### Security First 🛡️ We take security very seriously. The library is built to help you implement a **Zero Trust** architecture by default: - **Automatic application of security best practices** - Protection against **replay attacks**, **man-in-the-middle attacks**, and **tampering** - Built-in **signature validation** and **data integrity checks** You can rest assured that **your credentials** are safe and protected from common attack vectors. ### Developer Experience 💻 We're all about making developers' lives easier. With this library, you’ll find: - **Intuitive API design** that's simple to integrate - **Comprehensive TypeScript support** with clear types - **Rich Examples across various scenarios** to help you understand how to use the library effectively - **Detailed error messages** to help you understand what went wrong ## Core Dependencies 📦 - [@sd-jwt/core](https://github.com/openwallet-foundation/sd-jwt-js) - Provides core SD-JWT functionality for selective disclosure - [@mdoc/mdl](https://github.com/openwallet-foundation-labs/mdl-js) - Implements the mDL (ISO) specification ## Contributing 🤝 We welcome contributions! If you find a bug, want to add a feature, or just have feedback, please feel free to open an issue or create a pull request. 🚀 ## License 📜 This project is licensed under the Apache 2.0 License. ## Stay Updated 🚨 We’re committed to keeping this library secure and up-to-date. To stay informed about new releases and security updates, please star us on GitHub.