wendelb / delphiotp Goto Github PK
View Code? Open in Web Editor NEWOTP (RFC 4226, same as Google is using) for Delphi
License: MIT License
OTP (RFC 4226, same as Google is using) for Delphi
License: MIT License
Hello,
we plan to distribute DelphiOTP with a server component for Zeos (zeoslib.sourceforge.io). Is that allowed and if so under which license? Or is DelphiOTP considered to be public domain? Or should we send users here to get DelphiOTP themselves if they want to use OTPs?
Best regards,
Jan
Problem with last line:
{###############################################################################
https://github.com/wendelb/DelphiOTP
###############################################################################}
unit GoogleOTP;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
{$IFNDEF FPC}System.{$ENDIF}SysUtils, {$IFNDEF FPC}System.{$ENDIF}Math, Base32U, {$IFNDEF FPC}System.{$ENDIF}DateUtils
{$IFNDEF FPC}
[dcc32 Error] GoogleOTP.pas(13): E2029 Identifier expected but end of file found
[dcc32 Error] GoogleOTP.pas(13): E2029 Identifier expected but end of file found
[dcc32 Error] Base32U.pas(22): E2029 Identifier expected but end of file found
[dcc32 Error] Base32U.pas(55): E2003 Undeclared identifier: 'UpperCase'
[dcc32 Fatal Error] GoogleOTP.pas(13): F2063 Could not compile used unit 'Base32U.pas'
I will try to fix it myself but first I or copilot must understand what the problem is, it's kinda weird ! ;) =D
(Thanks btw for writing a small little app, saves me some time, I hope it's compatible with winotp and google authenticator ! ;) then I can compile/build this and hopefully this app will then work on windows 7, unlike all the other crap out there ! =D)
I tryed these codes but doesnt work. Validation is not succesfully with GAUTH.
Hello!
How can I use your project in a Delphi 7 system?
Could you leave a sample project in the examples folder?
Thank you very much!
skybu@SuperPC2023 MINGW64 /k/Delphi/Libraries/DelphiOTP/git version/git bare repository
$ git clone -bare https://github.com/wendelb/DelphiOTP.git
Cloning into 'DelphiOTP'...
fatal: Remote branch are not found in upstream origin
WTF ?!?
Hi, I'm using a fork of this project (https://github.com/nikosdion/timecode) with Lazarus and now I'm using this project with Delphi Tokyo.
In both Lazarus and Delphi Tokyo for Win32 works really nice, I get the same tokens.
But for Android in Delphi Tokyo I get tokens that are not the same that the Delphi ones for Win32.
The code is really simple, is just using a string made with a secret part and an username.
Like:
CalculateOTP('mysecret' + username);
I've tried without using the username part and is the same.
My Android settings are:
In Delphi Berlin this code isn't work, the generated code is diferent, I think the problem is the unicode, but I'm not sure, if you could to help me... thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.