Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add twitter profile id prover #15

Merged
merged 7 commits into from
Oct 17, 2023
Merged

add twitter profile id prover #15

merged 7 commits into from
Oct 17, 2023

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    5d851c3 View commit details
    Browse the repository at this point in the history
  2. lint

    mhchia authored and 0xtsukino committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    6beada8 View commit details
    Browse the repository at this point in the history
  3. feat: work with modified notary server

    modified notary server: https://github.com/mhchia/notary-server/tree/work-with-extension
    
    Changes
    - websocket connection to notary-server
            - HTTP request to /session first and get sessionId
                    - Craft it through web_sys
                    - Send HTTP request with `fetch`
                            - Usually it's done with window, but in web worker there is no window
            - Use WebSocket API to establish wss connection to notary server
                    - Chang notary-server to accept a param `sessionId`
                            - In browser there is no way to add headers, so we couldn't add "X-Session-Id"
    - Prover config must use the session id returned from the notary server
    
    Concerns
    - Now we have to manually set notary server as trusted since the cert is self-signed.
            - rootCert couldn't be added when initiating HTTP request due to browser security config
    mhchia authored and 0xtsukino committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    3c8b5ba View commit details
    Browse the repository at this point in the history
  4. put requests in the right place

    mhchia authored and 0xtsukino committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    8845b0a View commit details
    Browse the repository at this point in the history
  5. wip

    0xtsukino committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    999bbbf View commit details
    Browse the repository at this point in the history
  6. finish twitter id prover

    0xtsukino committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    9a26d3e View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    00ffe67 View commit details
    Browse the repository at this point in the history