• R/O
  • SSH
  • HTTPS

dzotp: Commit


Commit MetaInfo

Revision4 (tree)
Time2021-09-28 04:30:05
Authordummzeuch

Log Message

added comment regarding the uri format

Change Summary

Incremental Difference

--- trunk/src/w_dzOTP.pas (revision 3)
+++ trunk/src/w_dzOTP.pas (revision 4)
@@ -231,6 +231,8 @@
231231 lbl := URIEncode(Identity);
232232 if Issuer <> '' then
233233 lbl := URIEncode(Issuer) + ':' + lbl;
234+
235+ // see https://github.com/google/google-authenticator/wiki/Key-Uri-Format
234236 URI := Format('otpauth://%s/%s?secret=%s',
235237 [OtpType, lbl, SecretBase32]);
236238 if Issuer <> '' then
Show on old repository browser