saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
456 stars 43 forks source link

Installing a new version of GpgFrontend doesn't update the installation #80

Closed Megasteel32 closed 7 months ago

Megasteel32 commented 1 year ago

Simply put, the installer isn't changing any files. The installer is being run with administrative perms on Windows 10 64-bit. image As seen, I originally installed GpgFrontend on 7/23/2022, and the installer is modifying the folders somehow, but the contents of the folders still show a last modified date of 7/23 as well.

saturneric commented 1 year ago

This might be a mistake in packaging. May I get the path of the screenshot you provide?

Acters commented 1 year ago

when there is an existing installation of GPGFrontend, the installer does not change the files when there is an existing version. You need to uninstall the previous version before installing the latest version. The installer will work on the installed version, providing modify/repair/uninstall options. The installer likely changed since this issue has been created in October 25, 2022.

On the topic on the Folder "Date modified" metadata. The folder is not treated the same as the files contained within. The folder has to be modified.(Folder content only; not file/folder content within the parent/target folder) This includes but no limited to:

Move operations will not change the "Date modified" timestamp of the file that has been moved. Most installers that package program installs use the move function. The files packaged inside the installer have "Date modified" timestamp set. This means you have installed files with different "Date modified" dates/times from when you install but the folders have updated "Date modified." Each File system has different rules for how timestamps are updated/created. Such as EXT4 has access, modified, and changed Timestamps. Move operation does not change the "date modified" timestamp of the file that has been moved.

Acters commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary.

please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Update: Creating a new keypair caused GPGFrontend to readd all the private keys. Very odd behavior. This needs a separate issue thread.

saturneric commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary.

please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug when refreshing keys list at initialize process. This may cause that private key data are not showing at the time you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Acters commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary. please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug in refreshing keys list at once time in this version, so private key data may not show when you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Thank you, I am considering deleting that comment.

saturneric commented 1 year ago

when there is an existing installation of GPGFrontend, the installer does not change the files when there is an existing version. You need to uninstall the previous version before installing the latest version. The installer will work on the installed version, providing modify/repair/uninstall options. The installer likely changed since this issue has been created in October 25, 2022.

On the topic on the Folder "Date modified" metadata. The folder is not treated the same as the files contained within. The folder has to be modified.(Folder content only; not file/folder content within the parent/target folder) This includes but no limited to:

  • files/folders/Hardlinks/Symlinks/directory junctions added or
  • files/folders/Hardlinks/Symlinks/directory junctions deleted (includes move operations) or
  • renaming files/folders/Hardlinks/Symlinks/directory junctions within the parent folder

Move operations will not change the "Date modified" timestamp of the file that has been moved. Most installers that package program installs use the move function. The files packaged inside the installer have "Date modified" timestamp set. This means you have installed files with different "Date modified" dates/times from when you install but the folders have updated "Date modified." Each File system has different rules for how timestamps are updated/created. Such as EXT4 has access, modified, and changed Timestamps. Move operation does not change the "date modified" timestamp of the file that has been moved.

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary.

please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Update: Creating a new keypair caused GPGFrontend to readd all the private keys. Very odd behavior. This needs a separate issue thread.

Thanks, I will try to improve the installer.

saturneric commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary. please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug in refreshing keys list at once time in this version, so private key data may not show when you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Thank you, I am considering deleting that comment.

You decided ;-) . Any way, I should apologize for the bug. Since I am struggling to build and test this Application on more than three operating systems, it's a really hard work and may cause many faults when you have limited time at this period of time. I plan to add an automatic UI tester to make things better for a long time, but there is no a suitable solution that I can find now.

Acters commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary. please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug in refreshing keys list at once time in this version, so private key data may not show when you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Thank you, I am considering deleting that comment.

You decided ;-) . Any way, I should apologize for the bug. Since I am struggling to build and test this Application on more than three operating systems, it's a really hard work and may cause many faults when you have limited time at this period of time. I plan to add an automatic UI tester to make things better for a long time, but there is no a suitable solution that I can find now.

haha yep, You are relaxed and allow for an open conversation. Not going to patronize you with fixing these issues. It is a very functional program as it stands. As long as the code is made with the intention of security first then these are minor issues. User interactions are fickle things to make proper, because of the OS and other dependencies changing over time. New developers replace the older ones and the new way of doing things is pushed onto everyone. This is why I like GNU/Linux and open source software. downside is developers make everything with windows first in mind because of the market share. Proprietary software to control blackboxed hardware is dumb. Love to see this niche program being very functionally sound. You are doing great.

I am not a developer; more of a QA tester. I picked up a lot from interacting with the developers from my time as a QA tester. I am now transitioning to cybersecurity field. Have a lot to learn before I am ready to take the plunge.

Megasteel32 commented 1 year ago

sorry didn't see this until now, did you still need the path?

saturneric commented 1 year ago

sorry didn't see this until now, did you still need the path?

Now, I know the situation through the statement provided by @Acters. You needn't do it. Also, I want to express my sincerest gratitude to you. All information helps to improve this application.

saturneric commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary. please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug in refreshing keys list at once time in this version, so private key data may not show when you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Thank you, I am considering deleting that comment.

You decided ;-) . Any way, I should apologize for the bug. Since I am struggling to build and test this Application on more than three operating systems, it's a really hard work and may cause many faults when you have limited time at this period of time. I plan to add an automatic UI tester to make things better for a long time, but there is no a suitable solution that I can find now.

haha yep, You are relaxed and allow for an open conversation. Not going to patronize you with fixing these issues. It is a very functional program as it stands. As long as the code is made with the intention of security first then these are minor issues. User interactions are fickle things to make proper, because of the OS and other dependencies changing over time. New developers replace the older ones and the new way of doing things is pushed onto everyone. This is why I like GNU/Linux and open source software. downside is developers make everything with windows first in mind because of the market share. Proprietary software to control blackboxed hardware is dumb. Love to see this niche program being very functionally sound. You are doing great.

I am not a developer; more of a QA tester. I picked up a lot from interacting with the developers from my time as a QA tester. I am now transitioning to cybersecurity field. Have a lot to learn before I am ready to take the plunge.

Thank you, I'm inspired. ;) The Cybersecurity area for me is about mathematics, c/c++, ASM, and protocol. All these single isn't an easy thing.

Acters commented 1 year ago

I will like to note: when I uninstalled the previous version of GPGFrontend, all of my private keys were destroyed. Thankfully I just started using this program and did not have anything important inside. This is why testing your new software for any quirks is necessary. please include an option in the uninstaller for more control over how the uninstallation process works. On the other hand, you can change the installer to allow updating a previous installation.

Key Data is stored by GnuPG in your user directory by default, GpgFrontend will not modify it directly. Uninstalling GpgFrontend won't remove the data. There is a bug in refreshing keys list at once time in this version, so private key data may not show when you just open the Application. It seems to appear only on Windows platform, you can try to click the refresh button on the Key Tool Box.

Thank you, I am considering deleting that comment.

You decided ;-) . Any way, I should apologize for the bug. Since I am struggling to build and test this Application on more than three operating systems, it's a really hard work and may cause many faults when you have limited time at this period of time. I plan to add an automatic UI tester to make things better for a long time, but there is no a suitable solution that I can find now.

haha yep, You are relaxed and allow for an open conversation. Not going to patronize you with fixing these issues. It is a very functional program as it stands. As long as the code is made with the intention of security first then these are minor issues. User interactions are fickle things to make proper, because of the OS and other dependencies changing over time. New developers replace the older ones and the new way of doing things is pushed onto everyone. This is why I like GNU/Linux and open source software. downside is developers make everything with windows first in mind because of the market share. Proprietary software to control blackboxed hardware is dumb. Love to see this niche program being very functionally sound. You are doing great. I am not a developer; more of a QA tester. I picked up a lot from interacting with the developers from my time as a QA tester. I am now transitioning to cybersecurity field. Have a lot to learn before I am ready to take the plunge.

Thank you, I'm inspired. ;) The Cybersecurity area for me is about mathematics, c/c++, ASM, and protocol. All these single isn't an easy thing.

just have to remember that its just a rock structured in a specific way that we can run electrons through and manipulate other interfaces that exploit quirks in their physical function through the use of pattern forming and recognition for an end goal. yep something like that.