Benedict Lau
    • 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 New
    • Engagement control
    • Make a copy
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Starling : Numbers Q3 Thread ## 2022-08-09 ### Agenda 1. Signature investigation work into existing photos https://github.com/starlinglab/starling-capture-verifications-2022 - whether we have automated way of verifying old photos 2. Starling Capture (signatures) - whether Starling can use the app in the future 3. Pablo's photos IOTA registrations 4. Current status of the Starling projects and Numbers Protocol registrations moving forward - back-to-back calls reliability - new NFT contracts that need to be set up - wallet funding ### Notes #### 1 Existing SJP Photos - Bofu discussed with Zion engineer - We know the problem and updated the verification tool - Confirmed we can verify all non-session based signatures, for photos _before and after_ - (wip) https://github.com/numbersprotocol/starling-capture/tree/fix-verify-legacy-zion-signature/util/verification/verification - Currently working on session-based - should not involve app change, all on verification side - Goal here is to try and verify everything in above repo #### 2 Starling Capture - The app needs two patches: 1. non-session-based signature (already applied on [develop](https://github.com/numbersprotocol/starling-capture/commits/develop)) 2. session-based signature - The non-session based is already applied - The session-based patch should come with the verification tool - Then a new release will be generated off master - Starling to send PR off develop to swap https://github.com/numbersprotocol/starling-capture/blob/master/app/build.gradle#L45 - Align versions when releasing official builds #### 3 Pablo IOTA - Pablo data based on CAI injection - Want to update to new spec - Starling Capture -> DIA server -> push to third-party systems - Dropbox with Pablo's photos on Starling side: https://www.dropbox.com/scl/fo/trkv5tgweru1k6csjohpz/h?dl=0&rlkey=1wnc8pk0oqjo6hpunvai2c4h4 - DIA owner: palbarenga@gmail.com - Tammy sent me https://explorer.iota.org/mainnet/indexed/bafybeifaz2ehhibdtr3mlhjbw3nygen7g33rqmjoih6ankjd32z2qd2cdu for one of them, but how come content in the Dropbox does not have the IOTA registration? - Should be in `integrity_verification_hash` but missing in the Dropbox dump, but Tammy can find them in Numbers internal system - Just need to take the `cid` and pop into [IOTA explorer](https://explorer.iota.org/mainnet/indexed/bafybeicg4ha5dr57s72bqyaq2z7aq7bjpgnf3vv5pl7hvlcl4a3ifjny5i) and we can find the registration #### 4 Starling Protocol API - back-to-back calls reliability - shared example that triggers this - finality around 10-13 seconds - on-chain nonce assignment - short-term: make sure we don't do back-to-back calls (> 15 seconds) - long-term: Tammy and Bofu to recommend - new NFT contracts that need to be set up - https://hackmd.io/URP-xe6IRX2aiXxJXZi50A?view contracts will be set up by end of Wed - wallet funding - one reg is 2 calls (reg + NFT), costs about 25c - currently we have 5 AVAX in the wallet and can register about 500+ assets - Starling should pay for this ## 2022-08-16 ### Notes #### 1 Existing SJP Photos >1. Between 78 Days and Pantanal, Zion has a breaking change that required a patch on Starling Capture, it is suspected the patch has broken Zion signatures (B) and (C). - 78 Days: still need photo examples from Jonathan from 78 days, or Bofu will try to find some - Pantanal: Bofu has data on DIA, should be able to check >2. Between 1.7.0 and 1.8.0 Numbers version of Starling Capture, there is a change in how proof information is sorted (https://github.com/numbersprotocol/starling-capture/commit/5f53d87f17a71cb490e8aa8bb746c0c1faba430d). If this is a fix to incorrectly sorted proofs, this could mean all proofs at or before 1.7.0 is not verifiable (unless we can find the original order) and 1.8.0 and beyond is fixed. This may affect all signatures. >3. It seems that Starling's builds of the app (deployed for Pantanal and beyond) are forked before this patch, and therefore does not have the patch that is incorporated into Numbers 1.8.0 (https://github.com/starlinglab/starling-capture/commits/starling-1.0.1). This may affect all signature types. - Pantanal is based on 1.7.0 app, not 1.8.0, not sure if it affects signature process - Bofu to confirm in this verification - If Pantanal verification works, it means all Numbers side issues are resolved ‼️ >4. Starling Integrity when receiving the HTTP POST, unintentionally alters the ordering of the meta name in the multipart message, and therefore the exact signed message may have been lost (unless we can find the original order) even if the Android app is sending the correctly ordered message. This would affect all signatures in deployments that target Starling Integrity as backend (LegCo Election 2021 and beyond). See starlinglab/integrity-backend#91 for details. - Anything _after_ Pantanal will have this additional problem due to Starling backend - Plan is to "reverse transform" the JSONs to Android's ordering (the same order sent in the HTTP message before Starling backend re-sorted the keys) ##### Next steps - Verify existing sigs - Priorities: - Pablo - SCMP - 78 Days #### 2 Starling Capture - Session-based HW signature working now on `1.9.2`: https://github.com/numbersprotocol/starling-capture/tree/develop - Passes verification code - [Demo video](https://app.claap.io/numbers-protocol/starling-capture-verification-tool-usage-c-O35CsUM4Uy-tMNLTN7e4OB_) - [Updated Wiki page with signature/verification flowcharts](https://github.com/numbersprotocol/starling-capture/wiki/Development#verification) - two versions auto-detected 1.8.0 "classic", with patchs in 1.9.2 "non-classic"

    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