All of these parameters, including the required keybasePath, can be specified as environment variables also, without having to be passed in as options to the KeybaseId class. The Keybase ID library provides a KeybaseId class which has a mandatory keybasePath parameter and optional minKbScore, twitterApiKey, and twitterApiSecret parameters. You should be able to run the following command in your command line, and see a version/commit number displayed:Īfter the Keybase Core client has been installed, you may now install the npm package using the command below: Once you have followed the instructions, you should have a keybase executable built, which you will need to pass as an argument into Keybase ID. Keybase ID requires the Keybase Core cryptography client be installed. Keybase ID uses Keybase's unique Saltpack messaging scheme to authenticate and verify a Keybase user is who they claim to be, then uses Keybase, GitHub, and Twitter APIs (when provided) to further validate a user's identity, returning a calculated score of the validity of a user's "identity".Įxpress Example using PassportJS Strategy Keybase ID provides an easy, secure way to identify and authenticate Keybase users that are signing up or logging into your application. Keybase ID is an identification and authentication library that relies on the Keybase Core cryptography client.
0 Comments
Leave a Reply. |