Page MenuHome GnuPG

mkportable doesn't work (due to missing files in share/locale/eu/ ?)
Closed, ResolvedPublic

Description

Steps to repro:

  1. Run gpg4win-3.1.15.exe and complete the installation. Select all components in Choose Components page.
  2. Make sure you have c:\test directory and it's empty.
  3. Open the command prompt.
  4. Run mkportable as follows:
C:\>cd /d "%ProgramFiles(x86)%\Gpg4win\bin"

C:\Program Files (x86)\Gpg4win\bin>mkportable --full --verbose c:\test
mkportable: source directory is 'C:/Program Files (x86)/Gpg4win'
mkportable: target directory is 'c:/test'
mkportable: finding files in 'c:/test/*'
mkportable: file 'share/locale/eu/kf5_entry.desktop' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/ki18n5.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kcompletion5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kxmlgui5.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kcoreaddons5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kitemviews5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kconfigwidgets5.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kwatchgnupg.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kwindowsystem5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kcodecs5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kiconthemes5.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kwidgetsaddons5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/libkleopatra.mo' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kconfig5_qt.qm' not found in the source directory
mkportable: file 'share/locale/eu/LC_MESSAGES/kleopatra.mo' not found in the source directory
mkportable: number of missing files: 15

No files are copied to c:\test.

Details

Version
3.1.15

Event Timeline

werner triaged this task as Low priority.Feb 5 2021, 2:16 PM
werner added a subscriber: werner.

Actually I would be in favor of removing this portable thingy. It is and will always be the worst and most insecure way of using crypto.

@werner should the pros and cons of mkportable be discussed here or on a mailinglist?

(Even if it maybe a less desireable way of using Gpg4win, it maybe still a valid use case. I recently read
https://www.heise.de/select/ct/2021/6/2101215262675519376 to protect office data on a windows pc and
IIRC using a portable version could be beneficial in this use case.)