Giter VIP home page Giter VIP logo

keeotp2's Introduction

Hi 👋, I'm tiuub

A passionate frontend developer from Germany

tiuub

tiuub

tiuubgit

Connect with me:

tiuubgit

Languages and Tools:

arduino c csharp django flask java mongodb mysql php postgresql python selenium sqlite

 tiuub

keeotp2's People

Contributors

bananeweizen avatar tiuub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keeotp2's Issues

Hotkey for OTP only auto-type

Hi,

Could you add a global hotkey to auto-type only the {TIMEOTP} placeholder. For example, KeePassOTP has this feature but it uses its own placeholder not the default Keepass placeholder.

I know that I can use {TIMEOTP} placeholder in custom auto-type sequence but I would like to have a dedicated hotkey to type only the {TIMEOTP} placeholder.

Thank you for considering.

Copy TOTP won't work for Steam

For Steam, the TOTP can only be coped to clipboard by going to Rightclick -> KeeOtp2 -> Show TOTP -> Copy. It will not be copied by either CTRL+T or Rightclick -> KeeOtp2 -> Copy TOTP. Again, to be really clear, it will NOT copy the TOTP when I choose the Copy TOTP option. It only works when I open the little window where it displays the TOTP, and click the copy button there. I have found no other way to get the TOTP to the clipboard.

By contrast, other configurations work. But as soon as I set the type to Steam, it doesn't work any more.

KeePass 2.49, KeeOtp2 1.5.7

Excessive CPU Usage when used with Pleasant Password KeePass

We are having issues across multiple machines when using KeeOTP2 with V2.39.1 KeePass (Pleasant Server Edition). The CPU goes to 100% and the machine becomes unusable. If you close Keepass it carries on in the back ground and an end task is required. Removing the KeeOTP2 plugin and restarting Keepass resolves the issue.

PC O/S is Windows 10 21H2 and it has worked well for some time but seems to be causing issues now which is a shame as its a very useful plugin. If you need further information please let me know.

An error indicating `hotkey is registered' when starting keepass

Error Detail (The Chinese means `hotkey is registered'):

[Window Title]
KeePass

[Content]
The following plugin is incompatible with the current KeePass version:
C:\Users\taroxd\AppData\Local\KeePass\PluginCache\nltA12hROdxB9UF3AoZV\KeeOtp2.dll

Have a look at the plugin's website for an appropriate version.

[Expanded Information]
热键已注册。 (异常来自 HRESULT:0x80070581)
NHotkey
在 NHotkey.Hotkey.Register(IntPtr hwnd, String name)
在 NHotkey.HotkeyManagerBase.AddOrReplace(String name, UInt32 virtualKey, HotkeyFlags flags, EventHandler1 handler) 在 KeeOtp2.KeeOtp2Config.registerHotKey() 在 KeeOtp2.KeeOtp2Config.loadConfig() 在 KeeOtp2.KeeOtp2Ext.Initialize(IPluginHost host) 在 KeePass.Plugins.PluginManager.LoadPlugins(List1 lFiles, String strTypeName, String strDisplayFilePath, Boolean bSkipCacheFiles)
Void Register(IntPtr, System.String)

Inner:
热键已注册。 (异常来自 HRESULT:0x80070581)

OS: Windows 11 (Inside a Hyper-V virtual machine)
This error occurs even if I disabled the global/local hotkey in the configuration.
I am not relying on hotkeys, so maybe properly catch this exception can resolve the problem?

By the way, in makeplgx.bat, the first line contains @@ -1,117 +0,0 @@ which seems to be redundant.

Dark Theme Compatibility

Hi...
with the KeeTheme Plugin (set to dark)
basically almost nothing is readable...

Thx,
ALex

Exception thrown when setting global hotkey to none

Setting global hotkey to 'none' even when "Use global hotkey" is unchecked leads to KeePass to thrown an exception message.
Also after reopening KeePass also shows a message about plugin incompatibility, but plugins works anyway.

Config screen:
KeePass_6fYhMcRXmz

Exception at KeePass start:
KeePass_xbT8tkR7u7

Request: ability to adjust time manually or to base time on something else than just system time

On my laptop (from work) I kept getting wrong TOTP keys, and when clicking Wrong? (button) -> Ping Google for current time (button) it shows my time is 87 seconds off with the time from Google. Sadly, I cannot change the system time manually, nor can I change the (company-based) time-server which is set by company policy.
So on this laptop, it seems there is no way for me to get a correct TOTP key using this plugin.

To fix this, I can think of the possibility of pinging a server for the current time (in a similar way that button works), or by manually or (semi-)automatically setting a value which offsets the system time by a certain amount. Do you think a fix is possible for this situation?

Last Modification Time is not updated in the column

Tested version:
1.5.6.1 - KeeOtp2.plgx - SHA512 392768226901D4EDB227064D92FCE66BADE565DA35074B7F2BDB7F31D9C146EA8D2AC818549F498C39174FA4A2A03E94843D1E4F7E34DFB2614CE1C46E30E8B2

Windows version:
Windows 8.1

Description:
Hi,

see the screenshots.

1
2
3

Problems:

The current KeePass 2.48.1 (64-bit) is used.

When configuring KeeOtp2 successfully, Last Modification Time is not updated in the column. Only in entry view it is updated.

Is this a bug in KeePass or in KeeOtp2?

[v1.5.8.1] Crash if otp key already exists ...

Hello

First, thank you for this wonderful plugin!

I tried the following scenario for testing:

Opened a record that had already an {otp} entry from old plugin KeeOtp v1.3.9 ... which looks as following:

otp_01

Then I changed the field name and removed the string part "key=" as following:

otp_02

After that pressed +T to re-configure the key with your Plugin, which was successful:

otp_03

Now I changed the before changed field name "test" back to "otp":

otp_04

Your Plugin asks to add a key again after closed the window, so I copied the key again. Unfortunately after pressed OK it gave a crash as following:

otp_05

Of course, it's maybe not a daily scenario. Nevertheless I thought you should know it.

Greetings

Is this repo still active yet?

Sorry for the question but I don't see any code activity from developer in the 2022 and no postings since January 14 ...

Dialog windows are hidden under keypass window when 'Always on top' is enabled

Thank you for making this plugin.

I migrated from KeeOtp to KeeOtp2. None of the KeeOtp2 dialog window display, instead the focus goes to a window that I cannot see and cannot interact with.

I switched off View -> 'Always on top' and now the KeeOtp2 dialog windows appear. Naturally, the keypass window now doesn't stay on top of other windows, which is a pain for me.

This issue doesn't occur with the original KeeOtp.

Please try and fix it, thanks for your consideration.

handle lowercase secret keys

Hi,
Some of my secret keys are in lowercase and so when I try to import them I get an error message title: "Illegal character found!" message "The key includes illegal characters" the allowed characters and regex below are all uppercase and so it appears it only accepts uppercase characters. Would it be possible to automatically handle secret keys that are provided in lowercase?

illegal character

Compatibility with KeeOTP storage

The fact that the storage is incompatible (in really unnecessary way, as far as I can tell) with KeeOTP makes it a pain to migrate to this plugin: every other plugin that used to rely on the old format stops working.

Furthermore, the "upgrade" process deletes the previously exiting key, making it nearly impossible to recover.

choco installation error

This issue has been appearing since a while:
"2021-10-02 00:50:13,133 26976 [ERROR] - ERROR: Specified cast is not valid."
"C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'."

Extract from log,hopefully this helps

1-10-02 00:50:11,784 26976 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-10-02 00:50:11,786 26976 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-10-02 00:50:11,791 26976 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-10-02 00:50:11,793 26976 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-10-02 00:50:11,795 26976 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-10-02 00:50:11,797 26976 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-10-02 00:50:11,799 26976 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2021-10-02 00:50:11,800 26976 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2021-10-02 00:50:11,802 26976 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-10-02 00:50:11,804 26976 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2021-10-02 00:50:11,806 26976 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2021-10-02 00:50:11,808 26976 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-10-02 00:50:11,809 26976 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-10-02 00:50:11,811 26976 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-10-02 00:50:11,813 26976 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2021-10-02 00:50:11,815 26976 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-10-02 00:50:11,816 26976 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-10-02 00:50:11,818 26976 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-10-02 00:50:11,821 26976 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-10-02 00:50:11,823 26976 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2021-10-02 00:50:11,825 26976 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-10-02 00:50:11,827 26976 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-10-02 00:50:11,829 26976 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-10-02 00:50:11,830 26976 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-10-02 00:50:11,832 26976 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-10-02 00:50:11,834 26976 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-10-02 00:50:11,837 26976 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2021-10-02 00:50:11,839 26976 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2021-10-02 00:50:11,840 26976 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2021-10-02 00:50:11,842 26976 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2021-10-02 00:50:11,844 26976 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2021-10-02 00:50:11,846 26976 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-10-02 00:50:11,848 26976 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-10-02 00:50:11,850 26976 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-10-02 00:50:11,852 26976 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-10-02 00:50:11,855 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-10-02 00:50:11,857 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-10-02 00:50:11,858 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-10-02 00:50:11,860 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-10-02 00:50:11,862 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-10-02 00:50:11,864 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-10-02 00:50:11,866 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-10-02 00:50:11,868 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-10-02 00:50:11,871 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-10-02 00:50:11,873 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-10-02 00:50:11,875 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-10-02 00:50:11,876 26976 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-10-02 00:50:11,878 26976 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2021-10-02 00:50:11,880 26976 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2021-10-02 00:50:11,882 26976 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2021-10-02 00:50:11,885 26976 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2021-10-02 00:50:11,887 26976 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2021-10-02 00:50:11,889 26976 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-10-02 00:50:11,891 26976 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-10-02 00:50:11,893 26976 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2021-10-02 00:50:11,895 26976 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2021-10-02 00:50:11,897 26976 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2021-10-02 00:50:11,899 26976 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2021-10-02 00:50:11,901 26976 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2021-10-02 00:50:11,903 26976 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-10-02 00:50:11,905 26976 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-10-02 00:50:11,907 26976 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-10-02 00:50:11,908 26976 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-10-02 00:50:11,910 26976 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-10-02 00:50:11,913 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-10-02 00:50:11,916 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-10-02 00:50:11,918 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-10-02 00:50:11,920 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-10-02 00:50:11,922 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2021-10-02 00:50:11,924 26976 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2021-10-02 00:50:11,925 26976 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-10-02 00:50:11,927 26976 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-10-02 00:50:11,929 26976 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-10-02 00:50:11,932 26976 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-10-02 00:50:11,933 26976 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-10-02 00:50:11,935 26976 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-10-02 00:50:11,937 26976 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-10-02 00:50:11,939 26976 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-10-02 00:50:11,940 26976 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-10-02 00:50:11,942 26976 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-10-02 00:50:11,946 26976 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-10-02 00:50:11,948 26976 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-10-02 00:50:11,950 26976 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-10-02 00:50:11,951 26976 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-10-02 00:50:11,973 26976 [DEBUG] - ---------------------------Script Execution---------------------------
2021-10-02 00:50:11,974 26976 [DEBUG] - Running 'ChocolateyScriptRunner' for keepass-plugin-keeotp2 v1.5.6.1 with packageScript 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2', installArguments: '', packageParameters: '',
2021-10-02 00:50:11,990 26976 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1'
2021-10-02 00:50:12,001 26976 [INFO ] - VERBOSE: Searching registry for installed KeePass...
2021-10-02 00:50:13,133 26976 [ERROR] - ERROR: Specified cast is not valid.
2021-10-02 00:50:13,137 26976 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '-1'.
2021-10-02 00:50:13,140 26976 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2021-10-02 00:50:13,186 26976 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2021-10-02 00:50:13,457 26976 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2'
2021-10-02 00:50:13,458 26976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\keepass-plugin-keeotp2.nupkg'
  with checksum '7F44B5E2CCD41F0A88A5523065FD7230'
2021-10-02 00:50:13,459 26976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\keepass-plugin-keeotp2.nuspec'
  with checksum '610E8A6D36CB5EAED5C332E690BFA130'
2021-10-02 00:50:13,461 26976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1'
  with checksum 'C5CBF9029AD0B392B4F9A822E2479FC3'
2021-10-02 00:50:13,463 26976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyuninstall.ps1'
  with checksum 'CE17D16E75A6B9F26FA8FED7DC40B5CC'
2021-10-02 00:50:13,475 26976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\keepass-plugin-keeotp2.1.5.6.1\.arguments".
2021-10-02 00:50:13,475 26976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\keepass-plugin-keeotp2.1.5.6.1\.extra".
2021-10-02 00:50:13,478 26976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\keepass-plugin-keeotp2.1.5.6.1\.version".
2021-10-02 00:50:13,480 26976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\keepass-plugin-keeotp2.1.5.6.1\.sxs".
2021-10-02 00:50:13,481 26976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\keepass-plugin-keeotp2.1.5.6.1\.pin".
2021-10-02 00:50:13,486 26976 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\keepass-plugin-keeotp2".
2021-10-02 00:50:13,488 26976 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2021-10-02 00:50:13,490 26976 [ERROR] - The install of keepass-plugin-keeotp2 was NOT successful.
2021-10-02 00:50:13,493 26976 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\keepass-plugin-keeotp2\tools\chocolateyinstall.ps1'.
 See log for details.

Only 7 of 8 numbers are displayed

Hi,

i recently updated from KeeOtp to KeeOtp2. I had to create a 8 digit OTP which is easy to setup using the custom settings options.
The OTP is created but when it is displayed on screen for manuel entry only 7 of the 8 digits appear.

694EAE38-5A44-47C7-86A5-9FF5CF396CA6

Cannot assign hotkey to TIMEOTP

Hello Again,

First, thanks for #18 !!

Another (smaller) issue: I cannot assign a HotKey to TIMEOTP. I tried CTRL+T, CTRL+Alt+T, CTRL+Shift+T, I just get an error beep and nothing happens.

Use global Hotkey is, of course, enabled.

I also found more conveniant to have to Copy TOTP Option bellow Copy Username and Copy Password Menus than in the KeeOtp2 Submenu. Would it be possible to have an option to show/hide it ?

Thanks again for this great plugin !
AVB

KeeOtp2 - Linux - Hotkey setting greyd out

Hi,

On my Fedora Linux i have installed Keepass2 and the KeeOtp2 plugin, but when i go to settings of KeeOtp2 the "Use global HotKey" option is greyed out.

Is this normal?

I know that on Linux to use the Keepass2 global auto-type we need to create a key shortcut on the Gnome settings to run "mono /usr/lib/keepass/KeePass.exe --auto-type", is there a similar option for this plugin?

{TOTP} placeholder vs. {TIMEOTP} placeholder

Hi,

KeeOtp2 uses the Keepass native support for TOTP and its placeholder is {TIMEOTP}. So why KeeOtp2 has also its own placeholder {TOTP}? I think this can be a bit confusing for the user. I don't know which one is preferred to use and is there any difference between them.

Maybe you should consider using only the native {TIMEOTP} placeholder or adding explanation in the documentation about the preferred placeholder and their differences.

Settings window has problems

Tested version:
1.5.6.1 - KeeOtp2.plgx - SHA512 392768226901D4EDB227064D92FCE66BADE565DA35074B7F2BDB7F31D9C146EA8D2AC818549F498C39174FA4A2A03E94843D1E4F7E34DFB2614CE1C46E30E8B2

Windows version:
Windows 8.1

Description:
Hi,

see the screenshots.

1
2

Problems:

I simply used Snipping Tool, Windows' built-in screenshots tool, to capture the Settings window.

There are 2 problems.

  1. The Settings window is not completely captured when using Snipping Tool -> Window Snip.

  2. Under Migration I don't see the full name.

method not found Int32 OtpSharp.Totp.ComputeTotp()"

I get those error messages in plugin Version: 1.5.3.0 & Keepass 2.48.1 if pressing the Keepass global auto type hotkey anywhere

(translates method not found)

---------------------------
KeePass
---------------------------
Methode nicht gefunden: "Int32 OtpSharp.Totp.ComputeTotp()".
---------------------------
OK   
---------------------------

grafik

How can you remove this setting from a KeePass entry?

If I clear the key and try to save, I get a pop-up dialog:
Invalid Otp Configuration! Your configuraiton [sic] does not contain a secret, A secret is required!

It should be possible to clear the OTP setup by saving the configuration with an empty secret key... Or "Delete OTP setup" should be added as a context menu item.

Thanks very much for this great product.

Ctrl + A not working!!!

I've tried every trouble shouting mentioned and the select all function (Ctrl + A) still DOES NOT WORK!!! Ctrl C, Ctrl V, Ctrl X, etc all work. Ctrl A is the only one that does not work. Just stopped worked suddenly. Has anyone had this issue that can help me? It doesn't work in anything. Not in Word, Excel, or anything else. I use Windows 10 Pro. Have a Logi Ergo K860 keyboard & a HP laptop. I've downloaded every possible driver and nothing either. There are no Windows updates, BIOS updates, or anything like that needed. HEEELLLPPP MEEEE!

KeeOtp2 v1.5.0 error on loading

Hi, on one PC it works fine, when on same version of KeePass on another PC - not. Previous release v1.4.1 works on both PCs, strange.

KeePass version:
image

Error:
image

TOTP Seed (KeePassXC/KeeTrayTOTP) Compatibility?

I have given KeeOtp2 a try and I'm very impressed by how intuitive and feature-rich this plugin is! However, I have noticed that it uses its own custom field type which isn't the same as those used by the classic TrayTOTP.

TrayTOTP and its successor KeePass plugin, KeeTrayTOTP, uses the fields TOTP Seed and TOTP Settings. Due to its popularity, KeePassXC and KeePass2Android (and possibly others) also support these fields by default.

I know KeeOtp has its own backwards compatibility to consider as well, but do you have any plans to support this other widely-used field format?

Cannot configure a new TOTP entry since 1.5.4

Hello,
Since last update, every time I try to configure a new TOTP entry, a get this error message:

There happened an error. Please check your entered key and your settings!

Error message:
La référence d'objet n'est pas définie à une instance d'un objet

Which in english means Object reference not set to an instance of an object.

Instead of the TOTP preview abose the key field i've invalid.

I uninstalled keepass, removed langage, kepass.config.xml and other plugins and still having the issue.

Keepass version is: 2.48.1.
OS Version: Windows 10 Enterprise 20H2
I've Migrated to buit-in all OTP entries and I use {TIMEOTP} Hotkey Sequence.

If a restore the old 1.5.3 everything works fine.

Also : I get used to CTRL-T for TOTP Shortcut and even if I define it in Global Hotkey it doesn't work.

Thanks for your help.
AVB

Button refers to non existing web address

When going to Context Menu (right click) -> Timed One Time Password -> Wrong? (button) ->Check the troubleshooting website (button), the last button refers to a non existing web address, legacy of version 1 of the KeeOtp plugin.

Thanks for your plugin, frequent user here!

OTP Secret is not detected if there is an `otp` string entry from a different plugin

OTP Secret is not detected if there is an otp string entry from a different plugin (KeePassOTP).

Version: 1.5.3.0

TimeOtp-Secret-Base32 is correctly created and auto-type works but the setup dialog keeps appearing.
Renaming otp fixes the issue. (But then KeePassOTP stops working on the other PC).

My otp contains a standard otpauth:// string. Maybe it could be a candidate for an automatic fallback/import.

Plugin does not load in KeePass2 2.48.1 Portable on Ubuntu 20.04 anymore

Up to version 1.5.3 the plugin does load. 1.5.4 and 1.5.5 do not.

$ mono ~/Applications/Keepass2/KeePass.exe --debug

image

image

$ cat /tmp/tmp4fba55.tmp 
$ 

The file is empty.

Package "mono-complete" is installed (as in Keepass-Error-dialogue suggested when running without "--debug").

$ sudo apt list --installed | grep mono
[sudo] Passwort für mm: 

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

ca-certificates-mono/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
fonts-noto-mono/focal-updates,focal-updates,now 20200323-1build1~ubuntu20.04.1 all  [Installiert,automatisch]
fonts-tlwg-mono-ttf/focal,focal,now 1:0.7.1-3 all  [Installiert,automatisch]
fonts-tlwg-mono/focal,focal,now 1:0.7.1-3 all  [Installiert,automatisch]
libmono-2.0-1/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
libmono-2.0-dev/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
libmono-accessibility4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-btls-interface4.0-cil/focal,now 6.8.0.105+dfsg-2 amd64  [installiert]
libmono-cairo4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-cecil-private-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-cil-dev/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-codecontracts4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-compilerservices-symbolwriter4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-corlib4.5-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-cscompmgd0.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-csharp4.0c-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-custommarshalers4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-data-tds4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-db2-1.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-debugger-soft4.0a-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-http4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n-cjk4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n-mideast4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n-other4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n-rare4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n-west4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n4.0-all/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-i18n4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-ldap4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-management4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-messaging-rabbitmq4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-messaging4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-build-engine4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-build-framework4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-build-tasks-v4.0-4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-build-utilities-v4.0-4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-build4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-csharp4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-visualc10.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-microsoft-web-infrastructure1.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-oracle4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-parallel4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-peapi4.0a-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-posix4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-profiler/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
libmono-rabbitmq4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-relaxng4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-security4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-sharpzip4.84-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-simd4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-smdiagnostics0.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-sqlite4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-componentmodel-composition4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-componentmodel-dataannotations4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-configuration-install4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-configuration4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-core4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data-datasetextensions4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data-entity4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data-linq4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data-services-client4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data-services4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-data4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-deployment4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-design4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-drawing-design4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-drawing4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-dynamic4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-enterpriseservices4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-identitymodel-selectors4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-identitymodel4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-io-compression-filesystem4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-io-compression4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-json-microsoft4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-json4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-ldap-protocols4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-ldap4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-management4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-messaging4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-net-http-formatting4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-net-http-webrequest4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-net-http4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-net4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-numerics-vectors4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-numerics4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-core2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-debugger2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-experimental2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-interfaces2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-linq2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-observable-aliases0.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-platformservices2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-providers2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-runtime-remoting2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-windows-forms2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reactive-windows-threading2.2-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-reflection-context4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-runtime-caching4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-runtime-durableinstancing4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-runtime-serialization-formatters-soap4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-runtime-serialization4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-runtime4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-security4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel-activation4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel-discovery4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel-internals0.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel-routing4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel-web4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-servicemodel4.0a-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-serviceprocess4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-threading-tasks-dataflow4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-transactions4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-abstractions4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-applicationservices4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-dynamicdata4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-extensions-design4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-extensions4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-http-selfhost4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-http-webhost4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-http4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-mobile4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-mvc3.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-razor2.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-regularexpressions4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-routing4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-services4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-webpages-deployment2.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-webpages-razor2.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web-webpages2.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-web4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-windows-forms-datavisualization4.0a-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-windows-forms4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [installiert]
libmono-system-windows4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-workflow-activities4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-workflow-componentmodel4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-workflow-runtime4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-xaml4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-xml-linq4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-xml-serialization4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system-xml4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-system4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-tasklets4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-webbrowser4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-webmatrix-data4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-windowsbase4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmono-xbuild-tasks4.0-cil/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
libmonoboehm-2.0-1/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
libmonosgen-2.0-1/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
libmonosgen-2.0-dev/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
mono-4.0-gac/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-4.0-service/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-complete/focal,now 6.8.0.105+dfsg-2 amd64  [installiert]
mono-csharp-shell/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-devel/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-gac/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-mcs/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-runtime-common/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
mono-runtime-sgen/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
mono-runtime/focal,now 6.8.0.105+dfsg-2 amd64  [installiert]
mono-utils/focal,now 6.8.0.105+dfsg-2 amd64  [Installiert,automatisch]
mono-xbuild/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
mono-xsp4-base/focal,focal,now 4.2-2.1 all  [Installiert,automatisch]
mono-xsp4/focal,focal,now 4.2-2.1 all  [Installiert,automatisch]
monodoc-base/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
monodoc-http/focal,focal,now 4.2-3 all  [Installiert,automatisch]
monodoc-manual/focal,focal,now 6.8.0.105+dfsg-2 all  [Installiert,automatisch]
ubuntu-mono/focal,focal,now 19.04-0ubuntu3 all  [Installiert,automatisch]

'Cant migrate' errors migrating multiple KeeOtp(1) otp= secrets

The error message is here:

MessageBox.Show(String.Format("Cant migrate \"{0}\" - \"{1}\"\n(Username: {2})\n\nJust check the format of the \"key\" string.", entry.ParentGroup.Name, entry.Strings.ReadSafe(PwDefs.TitleField), entry.Strings.ReadSafe(PwDefs.UserNameField)), "Migration Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning);

The issue is the key needs to be right padded with =s to a multiple of 8 characters. The issue is discussed here. I proved this is the solution, by finding one of the password entries that KeeOtp2 failed to migrate, and calculated the length of the otp= secret, which was 26. I then added 2 =s to the end of the secret, to make it 28 characters long (28/4=7) and saving the entry. I then ran the migration function again, and it succeeded on that entry.

still not working CTRL+T

I tested the new version 1.5.5 and it still doesn't work CTRL+T to copy the TOTP .

image

It only works when clicking on the "Copy TOTP" menu in the image below.

image

broken entries created with 1.5.6 if hashed?

Edit: versions 2.48.1 keepass, 1.5.6 keeotp2

Hi, just changed the plugin over from keeotp to keeotp2 and I'm having issues after migrating entries or creating new entries.

I notice that if I manually create a "TimeOtp-Secret-Base32" field and paste in a plain-text TOTP key (example: JBSWY3DPEHPK3PXP) then the displayed TOTP value is correct.

If I create and save the TOTP using the right click keeotp2 > configure TOTP context menu and paste the key in and save the entry; it looks like the saved TOTP key in TimeOtp-Secret-Base32 field is getting broken as the dispalyed TOTP is wrong and the value is saved as: JBSWY3DPEHPK3357XXX37PI=

Is this a hashing issue? Fiddling around with custom settings and the other encodings and hashes doesn't seem to help once its broken.

This bit me with migration as the migrated values were not working and the old otp key/value was removed. Had the entry history to fall back on though and get the original key back.

Manually editing the key or uri doesn't save.

I needed to set up a new TOTP for an account, so the key changed, but when editing this, the first time it doesn't save.

Steps to reproduce:

  • Right click an entry which already has a TOTP installed
  • Click on "Timed One Time Password"
  • Click on "Edit" button
  • Change/update the "Key or Uri" entry to the new value
  • Click "Ok" button

Expected behaviour:
Save new key and return to previous screen which shows the TOTP for the current time based on the new key.

Actual behaviour:
Both "Configuration" and "Timed Passwords" close. The new key is not saved, and the old one is also deleted.

After this, with an empty configuration, it is possible to save the new key.

CTRL+T no longer copies TOTP code

Previously I was able to use CTRL+T to copy the TOTP code, as of this latest version that option doesn't seem to exist. CTRL+B copes the Username field, CTRL+C copies the Password field, no CTRL+T.

"Migration Error!" popup appears for every entry missing an `otp` custom field

With version 1.5.0, when I select Tools -> KeeOtp2 -> Settings and click the upper left OK button, a popup dialog box appears for every entry that doesn't have a otp custom field. The popup says:

---------------------------
Migration Error!
---------------------------
Cant migrate "passwords" - "Entry Name"
(Username: user)

Just check the format of the "key" string.
---------------------------
OK   
---------------------------

There is no way to cancel the operation, so I have to click [OK] for every entry. At some point, I got a exception dialog, and the program aborted without updating any of the fields.

Migration from KeeOtp1 to KeeOtp2 issues

Hi, just to report a weird issue when trying to upgrade all entries using the settings form as explained here (https://github.com/tiuub/KeeOtp2):

  • pressed OK near the "migrate to built-in" options
  • pressed Yes to confirm migration
  • pressed Yes to string removal after migration prompt
  • pressed Yes to Auto-type replacement prompt
  • I read "Done xxx of yyy entries!" on the lower left corner (by the way, xxx is much bigger than expected, in one case 102 instead of 16)
  • Then I am asked to restart keepass but otp strings are left untouched, non migrated.

Tried with two different database in two different environment. Not a big deal, since I can migrate entries one by one, they are not too much.

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.