Passkeys in Servoy – Marc Boegem
I’m a combination from public and private keys. So public key is not a secret, it exists on the server and the private key is something you always carry with you and can you use to recreate the public key that can then be be there. 81% of all, we’re having them related to breaches and average stolen or weak passwords, so that is really something. It’s not that safe, and although it can be, for what we’re using to, we’re very, able to use this, consider that as being much of work, although using a box with manager will not really make that easier. So what, how do bar keys work? Basically the user is saying I want to create a new account to service this, or send the public key or the client is getting a new feedback and will present public key to the server and the server will store that. So you can use the next one and then authenticating basically basically, the same process. The private key which is stored on the user side is used to create a new public key, and it will be the signature only part to the server. It’s been verified and if that’s all correct, you’re signing. So, I was thinking this is possible to do this and serve working. We’ve got the NGER capabilities. It should be possible. So that’s what I’m, what a sub working on. So basically we have the server, then we’re using a server service package to handle all the browser stuff. That will be, that’s what, yeah, to do the actual stuff in the browser. Yeah, that will connect with the biometric device as you can phone or whatever. Can you, the browser as well? Or on the, sorry, I like to as well. And then all the information is sent back the other way around. And a small demo. Oops. Oops. Oh, this. So this is, this is just a small edgy application. I can click create button to register to create a, a, a basket. The browser will, will, will, will, will be here. I say, I want to use, I want to use my phone to that. So in this case, I can use the, just the camera to scan it. It’s not, you can’t really see that, but it says safe, basket. I can click the button. It will connect to my laptop over Bluetooth. And now it says, do you want to use your phase ID to sign in for the account of market solution is double now? And I say, yeah, I want to do that. It says, okay, and that is all handle now. So now the private key is stored on my, a phone. It’s being seen though iCloud, and Apple. So it’s also available in, it’s also available on my laptop if I want to. So next time, if I want to login, I go the other way around. So I want to authenticate and click the button again. This is a similar, similar code. Now it’s only used to signing. It also says signing with a basket. So now it’s finding a basket for this website with a specific ID. Again, I get a question, do you want to login with phase ID? Say, okay, it’s all done. So this is only part of the process. I can quickly show you a little bit of what I’ve done. So the calls are pretty easy. I’ve made it a little basket here, looking at the service. What I need there is a callback function. My part is the challenge, which is just a UUID. It has some things that I have to pass in the, the main name with the description. Then there is a user ID, which can be important because that is given back when you are authenticating. That’s called the user handler. And then there is the e-mail address and the description. So that is going into the plugin, which is still an ng, the gcode for this. So this is basically just drawn on code from, the user ID. And you can find on the internet with some explanation. And down here, the results given back with a callback. As you’ve seen over here with the callback function. And the authentication is a bit the other way around. So the callback function, the logic, create a get credential ID. This is the one that is stored. Basically that’s unique. I get the file that the server only knows. This is going to be in combination with the main, this is the ID that I want from you. This is how far the plugin is right now. So that’s also why it’s a lightning talk. It’s not finished yet. Yeah. So it’s working progress. I have never worked mad to leave the timeline. I’m hoping to collaboration with people find this interesting. I’m looking for that. And this can be a bit stuck. And in the meantime, if you want to know more, this is a great website that I’ve explained in quite some detail whether you want what is going on. So all of the information, a lot of links to other websites. It is pretty complex, but I think in the end it should be doable. So thank you very attention. I’ll just leave. Thank you.
