Questions tagged [totp]

Time-based One-Time Password algorithm (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time.

Time-based One-Time Password algorithm (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time.

TOTP is based on HOTP with a timestamp replacing the incrementing counter.

The current timestamp is turned into an integer time-counter (TC) by defining the start of an epoch (T0) and counting in units of a time interval (TI).

Wiki: https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm

172 questions
0
votes
0 answers

totp verificaton failing in signup method when user try to enter otp received in mail

I require some help here I am creating a signup method with a feature where user is authenticated via otp send in mail to verify that the email entered by user belongs to him. Now the problem here is that the otp generated via totp.Let me explain…
0
votes
0 answers

Atlassian 1time TOTP - Java Implementation

I was attempting to implement this TOTP verification library created by Atlassian using java 1.8: Atlassian 1time totp library If I create a DefaultTOTPService, when I try to call any of its methods they are asking for a Continuation parameter. I…
Kachopsticks
  • 125
  • 1
  • 13
0
votes
1 answer

Is there no cost effective solution to verify mobile numbers other than sending an OTP to the number?

My users would largely be international users and therefore, I wanted to look for an alternate way to authenticate phone numbers. WhatsApp OTPs are even costlier. So, any free solution? Or a better/alternate way to authenticate mobile numbers? I…
ks_design
  • 1
  • 1
0
votes
0 answers

how do i read totp generated by the totp secret engine in hashicorp vault using hashi-vault-js node module.?

`vault // .readKVSecret(api_token, "63ab53521ce9dfe4ed6fad73", "", "iam-users") .readKVSecret(api_token, "", "", 'totp/sms/code/my-key') .then((data) => { console.log("**********data",data); }); by using above method i can…
0
votes
0 answers

Apache Guacamole TOTP log

Good morning, Is it possible with tomcat to have logs produced when a user successfully completes the TOTP connection? Thanks, I have already tried to improve the tomcat logs but it does not work as I want it to
Nathan
  • 1
  • 2
0
votes
0 answers

How to validate a TOTP code generated from a flutter app in an ASP.NET Core site?

I'm writing a simple 2FA application, which generates TOTP codes in a flutter app, then I want the user to enter this code in an ASP.NET Core site, but I can't validate the code in the site. In Flutter/Dart, I am using the library dart-otp and in…
Tareq
  • 1,397
  • 27
  • 28
0
votes
1 answer

Enable SMS OTP on login and through API on identity server WSO2 5.7

I want to enable SMS OTP on identity server WSO2 5.7.0. I followed this documentation: https://docs.wso2.com/display/IS570/Configuring+SMS+OTP: first the disable otp sms under user profile appeared as a text box instead of checkbox, and second, on…
user666
  • 1,750
  • 3
  • 18
  • 34
0
votes
0 answers

C# implementation of RFC6238 does not produce the expected result

I am trying to implemente a TOTP algorithms, but the final result isn't match the expected result. namespace TotpToken; using System.Security.Cryptography; using System.Text; public enum OtpHashAlgorithm { SHA1 = 0, SHA256 = 1, SHA512…
Seamain
  • 3
  • 1
0
votes
1 answer

How to set an advanced one time sms code in Django app

I have sms autentication in my Django app. I works right. But I want to use a recomendations from https://github.com/WICG/sms-one-time-codes So, instead of 4 digits code I want user to get smth like this: https://example.com, 747723, 747723 is your…
Irina_Xena
  • 245
  • 1
  • 11
0
votes
0 answers

Buffer is not defined in vue Capacitor application

I am trying to implement otp token generator using the library 'otplib' in my vue application that has a capacitor so I can port the app to IOS and Android. The issue is when I "authenticator.generate(secret)" it gives the error: "ReferenceError:…
0
votes
0 answers

Can an URL be encoded in a rotating barcode (google wallet for loyalty cards)

I would like to know if anybody has some experience with the google wallet? It is possible to store tickets with a barcode (e.g. QR-code) so that you show the code, it can be scanned and veryfied. Now google offers a nice feature to secure the…
Kev
  • 557
  • 1
  • 7
  • 26
0
votes
1 answer

dart-otp interval does not default to 30 seconds on app load

Trying to generate a QrImage that uses a string generated using 'dart-otp'. Here is my code. FutureBuilder( future: getUserAttribute(), builder: (context, snapshot) { if (snapshot.hasData) { String secret = snapshot.data.toString(); …
kenta_desu
  • 303
  • 1
  • 9
0
votes
1 answer

QR not showing Azure B2C custom policy

I am trying to use a QR code for totp mfa in an Azure B2C. In my development environment this works fine, however when I moved the custom policy to our PROD environment the QR code doesnt show. The links to the goolge play and apple app store are…
Andrew Wiebe
  • 111
  • 13
0
votes
0 answers

How do I generate Basic HTTP RFC2617 Authentication code?

My problem is exactly same as this one. The fact is, it's answer didn't worked for me. It is still showing "wrong code". { message: 'Access denied: Invalid token, wrong code' } headers are headers: { 'Content-Type': 'application/json', …
0
votes
0 answers

How to automate totp with password?

I'm facing the following scenario: I've got an authenticator app in which I have to insert a pin to unlock the totp that I need to use in order to perform login. I've got the authenticator URI in this…