initAuth 屁股我在哪里可以得到 SRPA
initAuth butt where can i get SRPA
大家好,我是 运行 aws cli
这是我的代码
aws --region ap-southeast-2 cognito-idp initiate-auth --cli-input-json file://initiate-auth.json
和json文件
{ "AuthFlow": "USER_SRP_AUTH", "AuthParameters": {
"USERNAME" : "gabrielwu",
"SRPA": "?????",
"SECRET_HASH":"yyVMuFNZEehJ6Io9WZWUsngJFBVdsjqwX1zMyRhe+Bg=" }, "ClientId": "31vegbhbi2hesihbc0m4h5r8p1" }
好吧,我不知道如何生成 SRPA。我知道如何使用 Python。有没有 Python 库可以帮助解决这个问题?
这可能已经很晚了,但请参考 Whosebug post。它包含此类库的 link 以及一些关于 SRP 和 ChallengeResponse 如何工作的非常好的指示。
大家好,我是 运行 aws cli
这是我的代码
aws --region ap-southeast-2 cognito-idp initiate-auth --cli-input-json file://initiate-auth.json
和json文件
{ "AuthFlow": "USER_SRP_AUTH", "AuthParameters": { "USERNAME" : "gabrielwu", "SRPA": "?????", "SECRET_HASH":"yyVMuFNZEehJ6Io9WZWUsngJFBVdsjqwX1zMyRhe+Bg=" }, "ClientId": "31vegbhbi2hesihbc0m4h5r8p1" }
好吧,我不知道如何生成 SRPA。我知道如何使用 Python。有没有 Python 库可以帮助解决这个问题?
这可能已经很晚了,但请参考