Monthly Archives: December 2018

Understanding user registration and enrollment in Hyperledger Fabric

TL;DR The bootstrap identity is defined by the username:password used in -b argument to fabric-ca-server start The bootstrap identity is special and does not need a registration step. This is because it is automatically registered when the server starts All … Continue reading

Posted in Software | Leave a comment

E1219 23:48:19.159391389 19 ssl_transport_security.cc:238] Could not get common name of subject from certificate.

Returned back from vacation to find this error when I try to run hyperledger fabric sample. It used to work just fine before I left on vacation. What gives? WITSC02X6385JGH:fabric-ca sjain68$ docker logs -f dev-peer1-jnj-mycc-1.0 > chaincode@1.0.0 start /usr/local/src > … Continue reading

Posted in Software | Leave a comment

Suggested 5 day itinerary for Hawaii

Which Island to Visit? Maui Where to book? Book flights + hotel + car at costcotravel.com Total days needed? 7 (1 day to fly in and 1 day to fly back) Where to stay? for 3 star recommend Napili Surf … Continue reading

Posted in Travel | Leave a comment

Unwanted redirect from Gmail to OneLogin

Is Google Chrome redirecting you to onelogin whenever you try to login into any Google account? This is how to fix it: Open Chrome Type chrome://settings/siteData search for onelogin in top right (see example screenshot below) Delete the onelogin cookies … Continue reading

Posted in Software | Leave a comment

Installing Bash4

A new macbook pro comes installed with bash version 3. I needed to install bash 4 to be able to use the bash debug vs code extension. To do this run brew install bash once its done you will need … Continue reading

Posted in Software, Uncategorized | Leave a comment

ABAC

showing how to add an attribute named manufacturer and set its value to true. file helper.js in balance-transfer app. see https://fabric-sdk-node.github.io/release-1.3/FabricCAServices.html#register__anchor later on you can check this attribute as follows in your chaincode:

Posted in Software | Leave a comment