Bitcoin Forum
May 28, 2024, 08:26:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 »  All
  Print  
Author Topic: [ANN] UBIC:The cryptocurrency providing UBI for the masses using the E-Passport  (Read 18154 times)
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
April 30, 2018, 11:52:13 AM
 #61

Depending on if your passport uses ECDSA or RSA and the key length the non-transferable proof of signature knowledge can vary from 0.2kb to 4kb. I can add a functionality to allow you to copy the base64 encoded transaction and then to broadcast it on the network using a connected node.

You can also take a look at how the code works, although I agree that it would take a lot of time to read it all.
Here is the most important part: https://github.com/UBIC-repo/core/blob/85993a7bfc31803a37f171d4f0657cfab8c3eb32/JSON/Api.cpp#L631

Bellow is the simplified code with explanations:

Code:
std::string Api::readPassport(std::string json) {

[...]

    if(reader->initConnection(bacKeys, sessionKeys)) // open connection with the passport through NFC
    {
        unsigned char fileId[3] = {'\x01', '\x1D', '\0'}; // EF.SOD file identifier

        if(!reader->readFile(fileId, file, &fileSize, sessionKeys)) { // reading out the SOD file (digitally signed file to verify the authenticity of the passport)
            reader->close();
            return "{\"success\": false, \"error\" : \"failed to read SOD file\"}";
        }
        reader->close();

[...]

        ldsParser->getTag((unsigned char*)"\x77")
                ->getContent(sod, &sodSize); // the SOD file is a ASN1 encoded file containing another PKCS7 file. We get this file here
[...]

        PKCS7Parser* pkcs7Parser = new PKCS7Parser((char*)sod, sodSize); // Parsing the PKCS7 file to extract the Document Signing Certificate, the signed hash and the digital signature
[...]

        Address randomWalletAddress = wallet.getRandomAddressFromWallet(); // get a random address from our wallet, this address will receive the UBI

        if(pkcs7Parser->isRSA()) { // if the parsed PKCS7 file contained a RSA certificate
[...]

            NtpRskSignatureVerificationObject *ntpRskSignatureVerificationObject = NtpRsk::signWithNtpRsk(
                    ntpRskSignatureRequestObject
            );

            CDataStream sntpRsk(SER_DISK, 1);
            sntpRsk << *ntpRskSignatureVerificationObject; // serialize the object

            Log(LOG_LEVEL_INFO) << "generated NtpRsk: " << sntpRsk;
            pIScript->setScript((unsigned char *) sntpRsk.data(), (uint16_t) sntpRsk.size());

            pTxIn->setScript(*pIScript); // set the non-transferable proof of signature knowledge as transaction input

        } else {
            // similar to as with RSA but for ECDSA
            [...]
        }

        [...]

        if(txPool.appendTransaction(*registerPassportTx)) { // Broadcast the transaction on the network
            Network &network = Network::Instance();
            network.broadCastTransaction(*registerPassportTx);
            return "{\"success\": true}";
        }

    [...]

}
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 01, 2018, 09:49:04 AM
 #62

I released V0.1.6 it fixes crashes due to register passport transactions. Make sure to update your node.
freepellent
Newbie
*
Offline Offline

Activity: 78
Merit: 0


View Profile
May 01, 2018, 11:06:28 AM
Last edit: May 01, 2018, 11:30:10 AM by freepellent
 #63

How to install update? I get a message on the phone "no supporting apps for this tag installed"
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 01, 2018, 11:28:44 AM
 #64

How to install update?

Code:
/etc/init.d/ubic stop
cd /usr/local/src/
sudo rm -rf core
sudo git clone https://github.com/UBIC-repo/core.git
sudo chmod 777 -R core
cd /usr/local/src/core
cmake CMakeLists.txt
sudo make install
/etc/init.d/ubic start

This should do it
freepellent
Newbie
*
Offline Offline

Activity: 78
Merit: 0


View Profile
May 01, 2018, 11:50:31 AM
Last edit: May 01, 2018, 12:05:17 PM by freepellent
 #65

 :(I guess have to wait for mobile app. Tried with Android and Windows phone. Failed to read.
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 01, 2018, 12:46:46 PM
 #66

:(I guess have to wait for mobile app. Tried with Android and Windows phone. Failed to read.

To register your passport you need to connect a usb NFC reader to your computer.
I'll write you as soon a mobile app is ready, I already got in touch with some people that are interested in doing it.
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 01, 2018, 01:03:44 PM
 #67

Just to let you know that I reserved the domain http://ubic.news
I a m not sure what I ll make with it. Let's see.  Smiley

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
stil55
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


View Profile
May 01, 2018, 01:06:04 PM
 #68

What is the purpose of creating a UBIC token, what specific tasks will your tokens solve, what is the value of the UBIC token? What is the maximum number of issued UBIC tokens, when you plan to go to the exchanges, how much does the 1 UBIC token?
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 01, 2018, 01:06:45 PM
 #69

I am also running a node with the IP address 51.15.99.155
This might be useful.

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 01, 2018, 01:39:40 PM
 #70

What is the purpose of creating a UBIC token, what specific tasks will your tokens solve, what is the value of the UBIC token? What is the maximum number of issued UBIC tokens, when you plan to go to the exchanges, how much does the 1 UBIC token?
You'll find most answers in the whitepaper: https://github.com/UBIC-repo/Whitepaper

But summarize
Quote
What is the purpose of creating a UBIC token
UBIC aims to distribute coins following universal basic income principles.
Instead of rewarding coins proportionally to your computing power every citizen of one of the supported countries will be rewarded with tokens just for being a human being and being part of the UBIC network.

Quote
What specific tasks will your tokens solve
It aims to solve the distribution problems resulting from POW and POS. It also solve a security issue called sybil attack and has possible KYC and E-Voting applications.


Quote
What is the value of the UBIC token?
The value of a token depends on the size of it's network effect.
Because participants that have registered their passports are rewarded with a UBI, the incentive to join UBIC as a user can be higher than with other cryptocurrencies.
This will hopefully result in a great network effect

Quote
What is the maximum number of issued UBIC tokens
Unlike Bitcoin UBIC has no cap. The amounts you saw in the first post are static and will be issued every year.
The real number of coins in circulation will however be lower as all transaction fees are burned to limit inflation.

Quote
When you plan to go to the exchange
I can not give any ETA

Quote
how much does the 1 UBIC token?
I didn't understood this part
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 01, 2018, 01:41:46 PM
 #71

I am also running a node with the IP address 51.15.99.155
This might be useful.

Thank you! I just added it here: https://github.com/UBIC-repo/node-list/blob/master/nodes
If some one else wants to add a node he can directly create a pull request there.
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 02, 2018, 06:47:23 PM
 #72

Just after I registered my passport my SSD died, luckily it's still readable.
Where can I find my wallet keys to save then?
If you lose your keys is it possible to recover your coins using your passport?

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 02, 2018, 09:24:51 PM
 #73

Just after I registered my passport my SSD died, luckily it's still readable.
Where can I find my wallet keys to save then?
If you lose your keys is it possible to recover your coins using your passport?
The seed of your private keys location is: ~/ubic/wallet.dat
This is the only file you need to backup, it's 33 bytes in size.
Currently there is no way to recover your private keys or seed from your passport, once the seed is gone your coins are too.
Ubiubi18
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile WWW
May 03, 2018, 08:59:34 AM
 #74

Just after I registered my passport my SSD died, luckily it's still readable.
Where can I find my wallet keys to save then?
If you lose your keys is it possible to recover your coins using your passport?

did you recover your wallet keys?
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 03, 2018, 10:07:29 AM
 #75

Just after I registered my passport my SSD died, luckily it's still readable.
Where can I find my wallet keys to save then?
If you lose your keys is it possible to recover your coins using your passport?

did you recover your wallet keys?

Yes  Wink

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 03, 2018, 10:08:45 AM
 #76

Has some one else here already tried to register his passport?

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
freepellent
Newbie
*
Offline Offline

Activity: 78
Merit: 0


View Profile
May 03, 2018, 11:23:57 AM
 #77

Do not have NFC usb scanner to register passport. Waiting for a mobile app.
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 03, 2018, 11:29:05 AM
 #78

Do not have NFC usb scanner to register passport. Waiting for a mobile app.

From where are you from?

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
ubicorn (OP)
Jr. Member
*
Offline Offline

Activity: 81
Merit: 1


View Profile
May 08, 2018, 09:28:31 PM
 #79

If you are using a firewall make sure that port 1334 is open or TCP connections.
This can be ensured by running:
Code:
sudo ufw allow 1334/tcp 

Also your log files might getting huge.You can delete them by running:
Code:
sudo rm -rf /var/ubic/LOGS/*.txt
uboid
Jr. Member
*
Offline Offline

Activity: 114
Merit: 2


View Profile WWW
May 09, 2018, 09:16:26 AM
 #80

Wow, I had a look at the WARNING log file and looks like some people are already trying to steal some coins.

Code:
[WARNING 1523786429] (58471) Unallowed API request from IP:183.208.179.228
[WARNING 1523821586] (58471) Unallowed API request from IP:183.208.179.228
[WARNING 1524448885] (70549) Unallowed API request from IP:59.63.206.169

Android app to get a crypto UBI. (https://play.google.com/store/apps/details?id=network.ubic.ubic)
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!