Hive Authentication Services - How to run your own PKSA - Code is now open-source

avatar
(Edited)

The integration of the HAS protocol in existing Private Key Storage Applications (PKSA) such as Hive Keychain Mobile or HiveWallet is well underway.

If you wish to integrate and test HAS in your (d)App, you can request access to the beta version of Keychain Mobile with HAS support on their discord server.

Playing with HiveWallet will take a bit longer because @roelandp recently learned that a few libraries he was using are now discontinued. A bit more work for him before releasing a new HAS compatible version.

In the meantime, you might be interested in running your own PKSA so that you can perform your tests in a safe and peaceful environment.

1. PKSA with a User Interface

Developing a PKSA with a user interface can be seen as reinventing the wheel since applications like Keychain Mobile or HiveWallet already exist and will soon be available with full HAS support.

Nevertheless, you might not trust them and want to use your own PKSA.

However, the source code of these two applications being open-sourced, the easiest way to create your own PKSA with a UI is to draw inspiration from it.

If you are in a hurry and do not want to wait, you can create your own user interface, integrate the PKSA service mode code described below and implement user interactions where indicated in the source code.

2. PKSA in Service Mode

A "Service Mode" PKSA is software without a user interface running on a computer connected to the internet and waiting for authentication and transactions requests.

Depending on how you configure it, it can register the account(s) you want it to manage without processing an offline authentication payload.

From then, the applications you use will have to connect to the same HAS server as your PKSA to be able to communicate with it.

Your PKSA can then store and provide your App(s) with a valid authentication token. It can also (automatically) approve transactions requests coming from your App if you enable it to do so.


To avoid redundancies and inaccuracies, the remaining content of this post has been moved to the official HAS Documentation website!

https://docs.hiveauth.com

Support the HAS project
Vote for the proposal on PeakD
Vote for the proposal on Ecency
vote for the proposal on Hive.blog
Vote for the proposal using HiveSigner

Check out my apps and services

Vote for me as a witness



0
0
0.000
24 comments
avatar

Looking forward to reading the documentation. :)

So is there a possibility that a HAS server would store the private keys of a whole bunch of accounts? If so, that would make it a really juicy target for hacking.

0
0
0.000
avatar

The HAS server does NOT store any key and therefore cannot be hacked.

0
0
0.000
avatar

Can't wait for the next post about integrating to an App.
Just getting ready to move to that phase of our new code base.

Super exciting project.

0
0
0.000
avatar
(Edited)

PIZZA! PIZZA!

PIZZA Holders sent $PIZZA tips in this post's comments:
steem82868 tipped arcange (x1)
@khan.dayyanz(1/8) tipped @arcange (x1)

You can now send $PIZZA tips in Discord via tip.cc!

0
0
0.000
avatar

Congratulations @arcange! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You got more than 35500 replies.
Your next target is to reach 36000 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

The Hive Gamification Proposal for 2022
0
0
0.000
avatar

Looking forward for this one!

0
0
0.000
avatar

very useful information thanks for sharing

0
0
0.000
avatar

cool for discord/twitter hive community bots

0
0
0.000
avatar

Thank you so much for your kind support, I just come back to hive and trying to learn more about this platform, your blog is helpful indeed @arcange

0
0
0.000
avatar

Hello @arcange,

I want to talk with you about Hive SQL.

How I can contact you? I tried using twitter but you are not accepting DMs.

0
0
0.000