TalaoDAO / AltMe

Talao / Altme wallet : Open source Self Sovereign Identity wallet. Multi ecosystem support : EBSI conformant. ARF EUDI wallet implementation, DIIP and more.
https://talao.io
Apache License 2.0
45 stars 13 forks source link

New card : device technical information: self issued card #975

Closed ThierryThevenet closed 1 year ago

ThierryThevenet commented 1 year ago

Device model and operating system. see Hugo for design type is DeviceInfo

hawkbee1 commented 1 year ago

https://pub.dev/packages/device_info_plus

First step, just collecting intel : getting list of info we can get from both ios and android.

hawkbee1 commented 1 year ago

first step Size: S

TalebRafiepour commented 1 year ago

the device info wich can I get:

{systemName: iOS, isPhysicalDevice: false, utsname: {release: 22.1.0, sysname: Darwin, nodename: Talebs-MacBook-Pro.local, machine: iPhone15,3, version: Darwin Kernel Version 22.1.0: Sun Oct  9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000}, model: iPhone, localizedModel: iPhone, systemVersion: 16.1, name: iPhone 14 Pro Max, identifierForVendor: 5C078CE5-21A4-4AAE-9A60-4AA88FB7F7C4}
TalebRafiepour commented 1 year ago

json-ld:

{
    "@context": ["https://www.w3.org/2018/credentials/v1",
        {
            "DeviceInfo" : {
                "@id": "https://github.com/TalaoDAO/context/blob/main/README.me",
                "@context": {
                    "@version": 1.1,
                    "@protected": true,
                    "schema" : "https://schema.org/",
                    "id": "@id",
                    "type": "@type",
                    "systemName" : "schema:productName",
                    "device" : "schema:productName",
                    "systemVersion" : "schema:productName",
                    "identifier" : "schema:productID",
                    "issuedBy": {
                        "@id": "schema:issuedBy",
                        "@context": {
                            "@version": 1.1,
                            "@protected": true,
                            "name" :  "https://schema.org/name"
                        }
                    }
                }
              }
        }
    ],
    "id": "",
    "type": ["VerifiableCredential", "DeviceInfo"],
    "issuer": "",
    "issuanceDate": "",
    "credentialSubject" : {
        "type" : "DeviceInfo",
        "systemName" : "",
        "device" : "",
        "systemVersion" : "",
        "identifier" : "",
        "id": "",
        "issuedBy" : {
            "name" : "My wallet"
             }
    }
}