KneeDeepInMud / fortGnox

Java based password manager front-end on top of GPG
https://fortgnox.mockenhaupt.org/
Apache License 2.0
4 stars 3 forks source link

new password not shown in list of passwords #35

Closed pern78 closed 1 year ago

pern78 commented 1 year ago

Windows10/fortGnox1.0.7 Issue: Atfer creating a new password, the file is not shown in the lists of passwords until fortgnox has been restarted. Expected behaviour: fortGnox should show newly created password files immediately

KneeDeepInMud commented 1 year ago

Windows10/fortGnox1.0.7 Issue: Atfer creating a new password, the file is not shown in the lists of passwords until fortgnox has been restarted. Expected behaviour: fortGnox should show newly created password files immediately

Is the data directory, i.e. the directory containing the gpg files, a native local hard disk drive, or any special filesystem (cryptomator, network drive etc.)?

KneeDeepInMud commented 1 year ago

Issue could be reproduced on Windows using a mapped network drive. It looks like the java.nio.file.WatchService has issues on Windows in at least some Java versions, e.g. https://bugs.openjdk.org/browse/JDK-8227667

java.io.IOException: Unzulässige Funktion.

    at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(WindowsWatchService.java:434)
    at java.base/sun.nio.fs.AbstractPoller.processRequests(AbstractPoller.java:265)
    at java.base/sun.nio.fs.WindowsWatchService$Poller.run(WindowsWatchService.java:596)
    at java.base/java.lang.Thread.run(Thread.java:835)

Thanks to @pern78 for reporting this :+1:

KneeDeepInMud commented 1 year ago

Workaround: use C:\users\... as data directory until fixed

KneeDeepInMud commented 1 year ago

Should be fixed in v1.0.8