# 匿名凭证

匿名凭证是一种密码学凭证，持有者借此可以向验证方证明关于自身的特定事实——例如超过18岁或持有有效订阅——而无需透露自己的身份，并且同一凭证的不同出示之间无法被关联起来。持有者从签发方处获得凭证，随后针对其属性出示零知识证明，而非出示凭证本身。<sup>[1](https://www.sciencedirect.com/topics/computer-science/anonymous-credential)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 大卫·肖姆于1985年提出假名凭证，作为电子交易的构建模块，实现匿名、不可链接的支付以及按机构区分的假名<sup>[2](https://citeseerx.ist.psu.edu/document?doi=cc9b751ee35b49ab167659d5b9759c821cf6843f&repid=rep1&type=pdf)</sup> |
| 核心特性 | 选择性披露（仅证明属性的一个子集）与不可链接性（验证方或签发方无法将不同使用关联起来）<sup>[1](https://www.sciencedirect.com/topics/computer-science/anonymous-credential)</sup> |
| 主要实现 | Idemix（IBM），基于Camenisch-Lysyanskaya签名；U-Prove（Microsoft），基于Brands签名<sup>[3](https://link.springer.com/article/10.1007/s00779-017-1057-6)</sup> |
| 不可链接性差异 | Idemix支持多次出示的不可链接性；U-Prove凭证在每次使用时都会被揭示，因此要实现不可链接性，每次出示都需要使用新凭证<sup>[4](https://onlinelibrary.wiley.com/doi/10.1155/2017/6384186)</sup> |
| 智能卡开销 | 签发一个含5个属性的凭证：Idemix耗时2.6秒，U-Prove耗时5.5秒；选择性披露证明：在MULTOS智能卡上分别为1.5秒与0.9秒（空证明）<sup>[5](https://salford-repository.worktribe.com/OutputFile/1487844)</sup> |
| 实际限制 | 计算开销使匿名凭证系统不适合低端设备<sup>[6](https://0-academic-oup-com.legcat.gov.ns.ca/cybersecurity/article/11/1/tyaf028/8294137)</sup> |

## 概念与特性

匿名凭证可以视为签发方对一组属性-值对（例如姓名、出生日期和国籍）的数字签名。直接出示凭证会揭示所有属性，并使验证方日后能够识别出同一凭证。取而代之的是，持有者以零知识方式证明自己持有一个有效签名的凭证，且其属性满足验证方的要求，仅披露被询问的内容。<sup>[7](https://ldapwiki.com/wiki/Wiki.jsp?page=Anonymous+Credential)</sup> 零知识证明是一种证明某陈述为真、但不携带任何关于其为何为真的信息的证明。<sup>[8](https://csrc.nist.gov/csrc/media/Presentations/2022/stppa4-anonym-cred/images-media/20221121-stppa4-anna-lysyanskaya--anonymous-credentials.pdf)</sup>

有两个特性定义了这一领域。选择性披露让用户仅揭示其想要披露的声明：持有者可以证明自己超过18岁，而不透露出生日期或任何其他属性。<sup>[1](https://www.sciencedirect.com/topics/computer-science/anonymous-credential)</sup> 不可链接性意味着验证方或签发方无法将凭证的不同使用联系起来，因此凭证下的活动无法被拼凑成用户画像。<sup>[1](https://www.sciencedirect.com/topics/computer-science/anonymous-credential)</sup>

## 起源

大卫·肖姆于1985年提出了假名凭证，作为交易系统的一部分，用户在该系统中以不同的假名与每个机构打交道，从而在保护隐私的同时为服务提供方维持安全性。他1984年的论文《信息时代个体的新范式》提出将数字签名凭证从个体的一个假名转换到另一个假名，转换方式保留签名但改变假名，以至于即使所有机构合谋，也无法得知假名之间的对应关系。<sup>[2](https://citeseerx.ist.psu.edu/document?doi=cc9b751ee35b49ab167659d5b9759c821cf6843f&repid=rep1&type=pdf)</sup><sup> • </sup><sup>[8](https://csrc.nist.gov/csrc/media/Presentations/2022/stppa4-anonym-cred/images-media/20221121-stppa4-anna-lysyanskaya--anonymous-credentials.pdf)</sup>

## Idemix与U-Prove

Idemix（Identity Mixer的缩写）由IBM开发和分发，U-Prove则来自Microsoft，二者是最突出的两种基于属性的凭证技术。它们都是密码学库套件，主要区别在于其核心的签名方案：Idemix使用Camenisch-Lysyanskaya（CL）签名方案，该方案允许在不披露底层消息或签名本身的情况下证明持有某个签名；而U-Prove基于Brands签名方案。<sup>[3](https://link.springer.com/article/10.1007/s00779-017-1057-6)</sup>

隐私上的差异是结构性的。U-Prove凭证在每次使用时都会被揭示，因此只能通过每次出示都使用不同凭证来实现不可链接性；Idemix对签发方签名的一部分进行随机化，并用零知识证明证明其余部分，从而支持针对服务提供方的多次出示不可链接性。这种额外工作带来性能代价：U-Prove在属性的选择性披露上更高效，而Idemix的不可链接性使其速度相对于U-Prove有所降低。<sup>[4](https://onlinelibrary.wiley.com/doi/10.1155/2017/6384186)</sup> Idemix还支持对凭证属性进行不等式和逻辑运算符（与、或、非）的证明，并允许用户一次性证明持有多个凭证及其属性之间的关系。<sup>[9](https://www.mdpi.com/1424-8220/15/7/15611)</sup><sup> • </sup><sup>[4](https://onlinelibrary.wiley.com/doi/10.1155/2017/6384186)</sup>

在MULTOS智能卡平台上实测，签发一个含五个属性的凭证，Idemix耗时2.6秒，U-Prove耗时5.5秒；对于选择性披露，空证明分别耗时1.5秒与0.9秒，隐藏五个属性中两个属性的证明分别耗时不到1秒与0.6秒。<sup>[5](https://salford-repository.worktribe.com/OutputFile/1487844)</sup> 在一项车联网评估中，使用1024位密钥和五个属性进行签发，针对VANET改进的Persiano方案平均耗时0.09秒，U-Prove为2.1秒，Idemix为2.8秒；在2048位下，三个数字分别为0.6秒、5.5秒和3.4秒，且签发时间与属性数量无关。<sup>[3](https://link.springer.com/article/10.1007/s00779-017-1057-6)</sup>

这两种技术都在欧盟ABC4Trust项目中得到探索，该项目旨在为隐私ABC系统建立通用架构，Idemix还被用于PrimeLife项目。<sup>[9](https://www.mdpi.com/1424-8220/15/7/15611)</sup><sup> • </sup><sup>[4](https://onlinelibrary.wiley.com/doi/10.1155/2017/6384186)</sup>

## 后续构造

**密钥验证凭证。** 微软研究院的梅丽莎·蔡斯、莎拉·迈克尔约翰和格雷格·扎韦鲁查考虑了签发方同时也是验证方、或签发方与验证方共享密钥的情形，从而可以使用消息认证码（MAC）代替公钥签名。他们在ACM CCS 2014的论文中，在素数阶群中构造了两种代数MAC，并配有高效协议用于签发凭证和证明关于隐藏属性的陈述，还表明所得系统的性能与U-Prove相当（U-Prove缺乏完整的安全性证明，而他们的方案基于判定性Diffie-Hellman假设），且比Idemix快许多倍。<sup>[10](https://www.microsoft.com/en-us/research/publication/algebraic-macs-and-keyed-verification-anonymous-credentials/?lang=fr_ca&locale=fr-ca)</sup>

**基于SNARK及后量子方向。** zk-creds基于盲Groth16证明开发了一种新方法，用于灵活的匿名凭证。<sup>[11](https://eprint.iacr.org/2022/878.pdf)</sup> 对于后量子部署，已有签名尺寸仅22 KB的基于格的盲签名方案，以及一个48 kB的可私下验证的协议，被提出作为匿名凭证的构建模块，不过欧盟的部署受限于SOG-IS目录中的原语。<sup>[12](https://blog.cloudflare.com/pq-anonymous-credentials/)</sup>

## 应用与局限

匿名凭证支持身份信息的选择性披露，从而在机器对机器和物联网访问控制中实现匿名性，用户在此类场景中证明自己满足身份属性而不披露额外信息。<sup>[9](https://www.mdpi.com/1424-8220/15/7/15611)</sup> 它们已被应用于隐私保护的电子健康记录管理：PREHEALTH框架使用Idemix与Hyperledger Fabric。<sup>[13](https://arxiv.org/abs/2011.09260)</sup> 对于欧盟指令下的举报场景，Idemix固有的不可链接性、更精细的选择性披露以及对有条件去匿名化的原生支持（U-Prove缺少这一特性）使其更为适合，尽管其繁重的计算使其不适合弱设备，且其开源仓库仍在完善之中。<sup>[6](https://0-academic-oup-com.legcat.gov.ns.ca/cybersecurity/article/11/1/tyaf028/8294137)</sup>

主要的实际限制是计算成本。匿名凭证系统的开销使其不适合低端设备，Idemix还额外需要公钥基础设施、处理设备丢失或出售的情况，并依赖CL签名等较少见的原语，这带来了标准化和硬件支持方面的挑战。<sup>[6](https://0-academic-oup-com.legcat.gov.ns.ca/cybersecurity/article/11/1/tyaf028/8294137)</sup>

## References

1. [Anonymous Credential - an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/computer-science/anonymous-credential)
2. [Anonymous Digital Identity (Chaum pseudonymous credentials survey), CiteSeerX](https://citeseerx.ist.psu.edu/document?doi=cc9b751ee35b49ab167659d5b9759c821cf6843f&repid=rep1&type=pdf)
3. [Assessment of attribute-based credentials for privacy-preserving road traffic services in smart cities, Personal and Ubiquitous Computing](https://link.springer.com/article/10.1007/s00779-017-1057-6)
4. [Holistic Privacy-Preserving Identity Management System for the Internet of Things, Mobile Information Systems](https://onlinelibrary.wiley.com/doi/10.1155/2017/6384186)
5. [Privacy Enhancing Technologies for solving the Privacy-Personalization Paradox: Taxonomy and Survey, University of Salford repository](https://salford-repository.worktribe.com/OutputFile/1487844)
6. [Pseudonymization and reporters' protection by design in the EU whistleblower directive, Journal of Cybersecurity](https://0-academic-oup-com.legcat.gov.ns.ca/cybersecurity/article/11/1/tyaf028/8294137)
7. [Anonymous Credential, LDAPWiki](https://ldapwiki.com/wiki/Wiki.jsp?page=Anonymous+Credential)
8. [Anna Lysyanskaya, Anonymous Credentials, NIST presentation (2022)](https://csrc.nist.gov/csrc/media/Presentations/2022/stppa4-anonym-cred/images-media/20221121-stppa4-anna-lysyanskaya--anonymous-credentials.pdf)
9. [Preserving Smart Objects Privacy through Anonymous and Accountable Access Control for a M2M-Enabled Internet of Things, Sensors (MDPI)](https://www.mdpi.com/1424-8220/15/7/15611)
10. [Chase, Meiklejohn, Zaverucha (2014). Algebraic MACs and Keyed-Verification Anonymous Credentials, ACM CCS 2014, Microsoft Research](https://www.microsoft.com/en-us/research/publication/algebraic-macs-and-keyed-verification-anonymous-credentials/?lang=fr_ca&locale=fr-ca)
11. [zk-creds: Flexible Anonymous Credentials from zk-SNARKs, IACR ePrint 2022/878](https://eprint.iacr.org/2022/878.pdf)
12. [Policy, privacy and post-quantum: anonymous credentials for everyone, Cloudflare Blog](https://blog.cloudflare.com/pq-anonymous-credentials/)
13. [A Privacy-Preserving Healthcare Framework Using Hyperledger Fabric (PREHEALTH), arXiv:2011.09260](https://arxiv.org/abs/2011.09260)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Cryptographic and privacy protocols

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/anonymous-credential

English original: https://www.edgepedia.org/anonymous-credential
