Earleone
    • 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
    PIP Biometric === ###### tags: `Voting method` `Pascalcoin` PIP: reserved for PIP editor Title: Title for your PIP Type: Protocol | Backend | Front-End | Informational | Process Impact: [Hard-Fork|Soft-Fork|None] - [Protcol | API | GUI | Mobile | Other] Author: Firstname Lastname your@email.com Comments-URI: reserved for PIP editor Status: Draft Created: YYYY-MM-DD ## Summary Voting in Pascalcoin is favoring big holders and holders of Pasa . This PIP proposes a biometric solution that can regulate voting using Pascalcoin Blockchain to 1 Vote - Person or to a weighted voting solution. What we want to do do is transfer the right for voting for the unique user from something that is unique with him ( [Token](https://en.wikipedia.org/wiki/Security_token) from the users fingerprints ) to a unique Pasa. Also the user keep his anonymity. ## Motivation It has not earlier been easy to find a solution for fair voting that include anonymity and current method favor big holders. With the latest development in [W3C](https://www.w3.org/Consortium/) and [Fido Alliance breakthrough 4 march 2019](https://fidoalliance.org/fido2/) where web standards is implemented for webauth using biometrics give some ideas and the world is moving in direction [beyond passwords](https://nakedsecurity.sophos.com/2018/11/22/the-passwordless-web-explained/). Pascalcoin immutable blockchain is an good candidate to make use of fingerprint identification and give organization the possibility to limit voting to 1 person - 1 vote. Or regulate to a secure voting weighing where it is control that each user only can represent them self with one unique ID transferred to a Pasa. Fingerprint readers are widely available and are also inexpensive to buy as addon for computers. Users anonymity will not be compromised with this method and at the same time it is possible to regulate that each person don't register several times for voting using several identity's [since the single user only has one set of fingerprints](https://www.reddit.com/r/todayilearned/comments/9vymkv/til_not_even_twins_share_fingerprints_theres_a/). The fingerprints them self will never leave the users computer only a [token](https://en.wikipedia.org/wiki/Security_token) from it with [salt](https://en.wikipedia.org/wiki/Salt_(cryptography)) added. ![](https://i.imgur.com/oH6999F.png) Our intention is to use it reversed from what is planned with the [fido2](https://fidoalliance.org/fido2/) solution. We think the other way, to identify unique person without giving up the unique persons anonymity or possibility for compromising the users anonymity. User cases can also be set up with full [KYC](https://en.wikipedia.org/wiki/Know_your_customer) solution, that is not the intention for the Pascalcoin voting but can be very useful in other user cases so we are not excluding it. ![](https://i.imgur.com/GJfSkj9.png) And this is what happens at the fingerprint scanner converted to a hash. What is interesting is that your fingerprints look different every time you scan them. But it is hashed as a [perceputal hash](http://bertolami.com/index.php?engine=blog&content=posts&detail=perceptual-hashing) and can then be compared with other tokens in the blockchain for duplicates. ![](https://i.imgur.com/cZkE3os.png) This hashes we can salt with a website or pasa provided key and then sent to our blockchain. Token will be compared with other tokens in the blockchain to verify that it is a unique user that registered and that the user has not registered several profiles using a [imagehash algorithm search for matches](https://github.com/jenssegers/imagehash). The challenge here is that the creation of tokens of the fingerprints must probably somehow be hardware bound to verify that also the user was present and scanned the tokens of the fingerprints in real time in to Pascalcoin imagehash blockchain. This should be possible to do in a Pascal or C++ app. Hashes of a fingerprint to a token can not be reversed engineered and the tokens can be hashed with a pascalcoin public or private key as [salt](https://en.wikipedia.org/wiki/Salt_(cryptography)). If the database ever is compromised a hacker can not use the tokens for anything. A FIDO2 authenticator may be used in either single-factor mode or multi-factor mode. In single-factor mode, the authenticator is activated by a test of user presence (TUP), which usually consists of a simple button push. In multi-factor mode, the authenticator is activated by either a PIN (something you know) or a biometric (something you are). This method is good to use for the login to the Pascalcoin website that is the place users scan their fingerprint tokens. ### It is suggested to write our own program or app similar to ctap2 . Bound to hardware authentication with finger swipe The fingerprints will be hashed and the actual fingerprints will never leave the users hardware by using [key-based steganography](https://link.springer.com/article/10.1186/s13635-015-0020-1) All 10 fingerprints should be registered. ## Specification ### *Currently in R/D stage* The user open the app, pascalcoin developed app that run as [program on users computer bound to scanner hardware.](https://pure.royalholloway.ac.uk/portal/files/26656144/cpss24BindingHardwareAndSoftware_open_access.pdf) In the app the user [hash](https://en.wikipedia.org/wiki/Hash_function) fingerprint from the Pascalcoin developed app. Each fingerprint hash gives 10% voting right for the users voting weight. The fingerprints are scanned directly to a [imagehash](https://github.com/jenssegers/imagehash) using [Perceptual hashing](http://bertolami.com/index.php?engine=blog&content=posts&detail=perceptual-hashing) as ahash, [dhash](https://www.hackerfactor.com/blog/index.php?/archives/529-Kind-of-Like-That.html), [Phash](https://www.phash.org/) or [whash](https://fullstackml.com/wavelet-image-hash-in-python-3504fdd282b5) and salt is added ( can be pasa public key ) ![](https://i.imgur.com/Ae9RzMM.png) The resulting Hash object, is a hexadecimal image fingerprint that can be stored in our blockchain once calculated. The hamming distance is used to compare two image fingerprints for similarities. Low distance values will indicate that the images are similar or the same, high distance values indicate that the images are different. If duplicate is detected the fingerprint hash will not be allowed for voting before additional manual control is done and communication with the voter to clearify. Requirement. The user must have access to a Fingerprint scanner that is supported by Pascalcoins developed app. A scanner similar to [Ashata USB fingerprint reader](https://www.amazon.co.uk/dp/B07RKZR7Y8/?coliid=I20UR8ZFZ10HXI&colid=3342WS4IGW1G4&psc=1&ref_=lv_ov_lig_dp_it) that actually create hashes from the scan for registering in the blockchain. The user register he's voting pasa that then is linked to the users fingerprinttokens. ## Rationale Fingerprints , eye iris , voice is all unique for a person. Fingerprint scanners is now widely available and are inexpensive and we have chosen to explore that for identifying unique person and at the same time let the user keep their anonymity. [Here is a faq for security](https://www.bio-key.com/faqs/) ## Backwards Compatibility Any backwards incompatibilities should be described here, as well as work-arounds/solutions for these incompatibilities. ## Reference Implementation The reference implementation must be provided before PIP is Completed. ## Links References and links to relevant material https://www.w3.org/2019/03/pressrelease-webauthn-rec.html.en <https://fidoalliance.org/fido2/> http://www.m2sys.com/automated-fingerprint-identification-system-afis-voter-registration/ https://precisebiometrics.com/wp-content/uploads/2014/11/White-Paper-Understanding-Biometric-Performance-Evaluation.pdf https://pdfs.semanticscholar.org/d6e5/7702367fe8aee5b20d2d3310cc1263e13503.pdf https://link.springer.com/article/10.1186/s13635-015-0020-1 https://www.bio-key.com/faqs/ https://github.com/jenssegers/imagehash http://blockhash.io/ http://bertolami.com/index.php?engine=blog&content=posts&detail=perceptual-hashing https://pure.royalholloway.ac.uk/portal/files/26656144/cpss24BindingHardwareAndSoftware_open_access.pdf

    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