Page 1 of 1

Support KeePassXC TOTP attributes

Posted: Tue Nov 27, 2018 3:23 am
by FrederickZh
Is it possible to support TOTP attributes from other KeePass apps, e.g. KeePassXC? Personally I work on different OS's hence KeePassXC seems to be the best cross-platform desktop solution. It would be nice if I could set up TOTP in KeePassXC and use it in KyPass as well. (And I reckon using attributes looks a bit cleaner?) Not sure how other KeePass apps store TOTP configurations but if KyPass can be compatible with other popular KeePass apps it'd be terrific :D

Re: Support KeePassXC TOTP attributes

Posted: Tue Nov 27, 2018 1:33 pm
by Mr-Fly
I believe there is no real standard for OTP integration.
www.keepass.info is the leading project and in this there is no OTP integration natively.
There are two plugins that can be used.
I am using KeeOTP, which stores the OTP Secret in an Additonal Field.
This works fine in Kypass and so it is compatible with the main project.
Where does KeepassXC Save the OTP Information? I would guess also in an additional field ?
How does the information look like? can you provide more information?
KeeOTP looks like this:
Field Name = otp
Field Value = "key=345234523452435324534534"
and Enable in-memory protection is enabled.
Kypass can read this and give a TOTP.

Re: Support KeePassXC TOTP attributes

Posted: Wed Dec 05, 2018 10:00 am
by FrederickZh
KeePassXC uses two addition fields:

TOTP Seed: Original TOTP key. Spaces are allowed, e.g.

Code: Select all

xxxx xxxx xvhp lovk temd i2vr 4bat yu7h
TOTP Settings: <Time Step>;<Code Size>, e.g.

Code: Select all

30;6

Re: Support KeePassXC TOTP attributes

Posted: Thu Dec 06, 2018 5:33 am
by Mr-Fly
So as you can see, it is not really standardized as Keepass natively does not support otp.
I believe that the PC edition would add the timing parameters to the url string it uses. I have never checked on that an can not, as I am on the road at the moment..

Re: Support KeePassXC TOTP attributes

Posted: Wed Jan 30, 2019 2:28 pm
by Floflobel
I would also very much like the support of TOTP as keepassXC does.

Re: Support KeePassXC TOTP attributes

Posted: Fri Feb 01, 2019 8:38 pm
by Mr-Fly
The official format for otp is this:
https://github.com/google/google-authen ... Uri-Format