This package provides a Javascript Secure Remote Password SRP SRP6a implementation for web browsers to perform a zero-knowledge proof-of-password to a web server.
101
stars
14
forks
source link
Using in a React Native project for a bluetooth connection #14
Hi there—I'm working on a mobile app in React Native (using the Expo platform) that connects via Bluetooth to a radio module called an XBee. The XBee uses SRP to authenticate, but I'm unsure yet how exactly to use this library in this case.
I'm trying to import the library in ES6 (again, this is a React Native project):
import { srpClientFactory } from 'thinbus-srp';
Do you have any tips on how to use this library in Expo/React Native? I see there's a fork called
react-native-thinbus-srp where they appear to have fixed this, but I'm not sure how to use that fork since it's not on npm.
Hi there—I'm working on a mobile app in React Native (using the Expo platform) that connects via Bluetooth to a radio module called an XBee. The XBee uses SRP to authenticate, but I'm unsure yet how exactly to use this library in this case.
I'm trying to import the library in ES6 (again, this is a React Native project):
import { srpClientFactory } from 'thinbus-srp';
But I'm getting bogged down with some dependency issues (see here: https://stackoverflow.com/questions/68959162/using-the-crypto-node-lib-in-a-react-native-project).
Do you have any tips on how to use this library in Expo/React Native? I see there's a fork called
react-native-thinbus-srp
where they appear to have fixed this, but I'm not sure how to use that fork since it's not on npm.