Edu (ed255)
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Session 1 Review the problems and find user stories ## 1. Reusable proofs User stories - I prove a high value transaction. The verifier leaks the proof. Now everybody knows I have a lot of money - I'm a member of a politically affiliated group. I use a membership proof to attend an event, but I don't want this proof to be used in the future to publicly-verifiably link me to this group. ## 2. Composable verifiable credentials We identified three cases: - composability while keeping the **verifier efficient** - composability while keeping **privacy** - composability of credentials - take many credentials and create 1 presentation - composability of presentations - take many presentations and create 1 presentation - multi-party composability - Sub problem - root of trust with multiple issuers used in a composed presentation User stories: - **privacy** - Prove that you do live in a country which is in a non-sanction list. Do not show which country. This uses different country identity systems that use different standards. - **verifier efficiency** - In Semaphore you want to prove that you attended all devconnect events, but you don't want to pay more gas price in the smart contract. ## 3. Issuance-presentation linkability User stories: - I get a government ID. I use it to prove I'm over 18 to enter into a bar. I don't want the government to know I went to the bar. - In anon adhaar, to avoid having credentials used by a third person they need to be freshly issued. This causes the holder to request a credential at the time of verification, which creates a issuer-verifier correlation. - As a user I ask the issuer to sign a credential of mine, and I don’t want to issuer to potentially track my activity by checking a specific attribute of the gave credentials (e.g., issuance timestamp, specific attribute that minimise the size of the anonymity) ## 4. Revocation User stories: - [Verifier] I have a rental car service and I want to allow people to rent a car with minimal disclosure from their part. I want to privately check that their driving license is valid (not revoked due to driving infractions) - [Holder] My credential was stolen and I want to prevent it from being used to spend any of my funds. We have to achieve this without having the presentation be linkable by the issuer. ## 5. eIDAS 2.0 alignment # Session 2 Choose a problem and research - Reusable proofs - Solutions exists - but are they practical in the real world? - Solution is broken with the TEE attack - can it be solved? - Composable verifiable credentials - in the single party context: already solved by POD2 - Inssuance-Presentation Linkability - not interested - Revocation - high impact we choose Revocation. ## Research on Revocation - existing solutions: - short expiry dates: unlinkable by verifier, but may be linkable by issuer - public revocation lists: unlinkable by issuer, but requires either prover / verifier to be online - w3c's Bitstring Status List https://www.w3.org/TR/vc-bitstring-status-list/ - CRSet https://arxiv.org/pdf/2501.17089, considers issuer privacy ![image](https://hackmd.io/_uploads/HJ5yomuVll.png) - "20250609 Improving AnonCreds v1 Revocation" https://docs.google.com/presentation/d/1fhwA3uP4XXTqOj5442IbwUS5iFcjagYXFwIB8ADFnGs/edit?slide=id.p#slide=id.p ![image](https://hackmd.io/_uploads/Hk3damdNxl.png) - iden3 https://docs.iden3.io/getting-started/claim-revocation/ - https://docs.iden3.io/protocol/spec/#revocation-tree - EUDI revokation requirements: https://eu-digital-identity-wallet.github.io/eudi-doc-architecture-and-reference-framework/1.4.0/annexes/annex-2/annex-2-high-level-requirements/#a2338-topic-38-wallet-instance-revocation ### Privacy in the context of Revocation - Issuer (See CRSet for related research) - Not reveal which credentials are revoked - Not reveal how many credentials are revoked - Not reveal when credentials are revoked - Holder (traditional point of view) - Not reveal usage of credential to the issuer - Not reveal usage of credential to the verifier - Verifier - ??? ![image](https://hackmd.io/_uploads/r1vIaQuVgl.png) ### Requirements from deployment context - online requirements for prover / verifier - storage / compute requirements for prover / verifier - issuer resources -- how frequently do they have to re-issue credentials? # Session 3 > Introduction to user requirements and types of constraints (privacy, latency, regulatory, UX) > Groups draft user personas, write stories, and define constraints > List of user needs, pain points, regulatory/technical constraints. Present in 1 pager with all the relevant links. Dimensions of credential systems - Time (long-lived VS short-lived) - Support type (physical VS digital) - Responsiveness of the Issuer Assumptions - We can define a protocol that requires changes in the issuer ## Constraints ### Privacy - issuer doesn't learn when/which holder is using the credential - timing correlation - id deanonimization ### Regulatory - regulatory needs offline verification - can we get offline verification and decentralization? - yes: the issuer can sign the revocation set commitment with a timestamp - offline holder - offline verifier ### UX - when user wants to prove a non-revoked credential it shouldn't take a lot of time or bandwidth - the system should work on milions of credentials - the system should work on mobile phone - in a web browser ### Others - offline issuer - the holder should be able to present credentials even if the issuer is offline # Session 4 ## Status quo - Taiwan digital wallet project hasn't defined a revocation mechanism - eIDAS will skip revocations and instead do short-lived credentials - Current problems with revocation: https://www.linkedin.com/pulse/arf-v15-five-things-watch-eidas-revocation-andrew-tobin-bqb9e/ - Existing w3c Bitstring Status list: https://www.w3.org/TR/vc-bitstring-status-list/ ## Problems Scenarios - (A) online holder, online verifier - (B) online holder, offline verifier - issuer signs a commitment to the revocation set with a timestamp. holder forwards it to verifier. holder proves non-inclusion in the revocation set to the verifier. - (C) offline holder, online verifier - this could be a physical credential like a card with no phone - (D) offline holder, offline verifier - if holder can be online from time to time: there's a time window of accepting a revoked credential - if holder can't be online at all: no revocation possible? only short-lived credentials ### (B) online holder, offline verifier Existing solutions (privado ID) involve: - issuer regularly commits to the revocation set with a merkle tree - at presentation time, holder obtains a non-inclusion proof of their credential in the revocation set How does the holder get the non-revoked proof while maintaining unlinkability? - If the non-inclusion proof is calculated by the issuer - the issuer learns about the credential used - If the non-inclusion proof is calculated by the holder - If the holder downloads the entire revocation set at presentation time (download only the new values of the set) - the issuer learns timing correlation - the holder requires high bandwidth for big revocation sets - If the holder regularly downloads the entire revocation set (download only the new values of the set) - the holder requires higher bandwidth for big revocation sets - the holder requires high storage for big revocation sets The problem: - How to reduce the holder load (cpu, bandwidth, storage) while keeping unlinkability? Solutions: 1. Privacy preserving way to obtain non-inclusion proof - PIR to retrive the non-inclusion proof - Oblivious syncing service - a privacy-preserving service for generating non-inclusion proofs 2. Tree forest: the issuer calculates a partial merkle proof to a subtree, the holder calculates the rest of the merkle proof - shares the computation between holder and issuer - reduces bandwidth - reduces anonimity set 3. Co-snark to calculate the non-inclusion proof between holder and issuer 4. Don't use a revocation mechanism and instead have short-lived proofs - only useful in some particular use-cases 5. Nullifiers / revocation tokens - nullifier has to be unlinkable, i.e. a function of some prover-generated nonce - after a credential is revoked, have to revoke all future nonces ![image](https://hackmd.io/_uploads/ByCTdIFEee.png) - https://github.com/zcash/incrementalmerkletree --- # Telegram log ## ying tong, [25 Jun 2025 13:10:33] Privacy requirements: - holder privacy - issuer metadata privacy Performance requirements: - online prover/verifier - bandwidth / computation as a function of the size of the revocation list ## ying tong, [25 Jun 2025 13:29:25] ![image](https://hackmd.io/_uploads/BknPWjYVgx.png) https://www.researchgate.net/profile/Michael-Hoelzl/publication/326163883_Bridging_the_gap_in_privacy-preserving_revocation_practical_and_scalable_revocation_of_mobile_eIDs/links/5b3f55c4a6fdcc850600eeba/Bridging-the-gap-in-privacy-preserving-revocation-practical-and-scalable-revocation-of-mobile-eIDs.pdf ## ying tong, [25 Jun 2025 13:55:41] We may also want to support temporary revocation e.g. suspending a driver's license ## ying tong, [25 Jun 2025 13:58:48] Would be cool to come up with some impossibility results e.g. "either prover / verifier needs to be online" ## ying tong, [25 Jun 2025 15:29:29] "Oblivious syncing service" We already know that this kind of approach is possible with expensive cryptography like fully-homomorphic encryption (FHE). But by adjusting the protocol slightly we can simply use PCD. The remote server only needs to learn the nullifier of the note to make synchronization progress without the assistance of the user's wallet, since the wallet can blind or encrypt the rest of the wallet state and only permit the oblivious syncing service to make state transitions involving the nullifier. One would expect this to reveal some information to the service about the note's possible location in the accumulator, but by adjusting how the nullifier is derived in the protocol16 we can eliminate this information leakage entirely, depriving the service of any information about the note being spent. https://seanbowe.com/blog/tachyon-scaling-zcash-oblivious-synchronization/ ## Vivian Plasencia, [25 Jun 2025 15:40:59] ![photo_2025-06-25_15-40-52](https://hackmd.io/_uploads/By37zit4gx.jpg) For the presentation ## ying tong, [25 Jun 2025 15:51:50] ![image](https://hackmd.io/_uploads/r1SMMoFEle.png) RIP "We leave a more thorough investigation of zk-creds-compatible revocation techniques to future work" https://eprint.iacr.org/2022/878.pdf ## ying tong, [25 Jun 2025 16:16:07] ![image](https://hackmd.io/_uploads/H19-zsY4ex.png) https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/main-51.pdf ## ying tong, [25 Jun 2025 17:00:53] ![image](https://hackmd.io/_uploads/S1AgzjtEel.png) Considering the variety of use-cases and requirements, I'm thinking a careful mapping + support for hybrid solutions would make sense, e.g.: ## ying tong, [25 Jun 2025 17:09:37] "The anonymous credential system uses the SObtSig ↔️ SIssSig protocol to issue a credential with the following information to the user: the users secret skU , the credential serial number id, the time period for which the credential is valid t, and d attributes a1, . . . , ad chosen by the issuer." This is just expiry tbh ## Zoey, [25 Jun 2025 18:51:15] https://github.com/decentralized-identity/labs/blob/main/proposals/beta-cohort-2-2025/pp-revocation-mechanism/001_proposal.md ## Zoey, [26 Jun 2025 08:58:53] https://x.com/secparam/status/1938063395531391380?t=pSQx7udYSmAyW22snUpWqQ&s=19

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully