Hive Authentication Services - How to run your own PKSA - Code is now open-source
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.
https://docs.hiveauth.com
Support the HAS project |
---|
Vote for the proposal on Ecency vote for the proposal on Hive.blog Vote for the proposal using HiveSigner |
@pixresteemer(4/5) gave you | wallet | market | tools | connect | <><
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.
The HAS server does NOT store any key and therefore cannot be hacked.
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.
It's coming...
Have a !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!
Congratulations @arcange! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
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:
Looking forward for this one!
https://twitter.com/Hivebull/status/1469235052668239874
The rewards earned on this comment will go directly to the person sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
very useful information thanks for sharing
!LUV
@barski(2/3) gave you | wallet | market | tools | connect | <><
cool for discord/twitter hive community bots
One of best thing hive needs.
!PIZZA
Thank you @khan.dayyanz
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
@arcange, this comment has been manually curated with LUV
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.
You can contact me on Discord
I cannot reach you using that link.
Discoord it is not able to reach that link.
How can I contact you?
This is my twitter https://twitter.com/CryptoSimplify
This is my Discord Paiva#6686