Description: gpg4usb is a very easy to use and small portable editor to encrypt and decrypt any text-message or -file you want using GnuPG.
Download gpg4usb 0.3.3-2 Development Test 1 [9MB download / 10.2MB installed]
Development Test 1 (2013-01-24): Initial release.
The included gpg4usb and gpg linux binary could be removed to reduce size of the package...
Do I have to edit a config file to tell, which languages are included?
Development Test 2 (2013-01-29):
- Set languages in the AppInfo\installer.ini
- Removed the
[Dependencies]section and the EULA line
Development Test 3 (2013-02-01):
- Some language corrections in installer.ini
- Put the keydb folder to DefaultData directory
- Removed gnupg folder from
Development Test 4 (2013-02-01):
- Added code proposed by winterblood to installer.ini
Development Test 5 (2013-02-05):
- Changes on
[LanguageStrings]section (including adding the s to LanguageStrings)
[Languages]section in installer.ini
[FileTypeIcons]section in appinfo.ini and FileTypeIcons folder
Release 0.3.3-2 Test1 (2016-01-05):
- Added japanese language
- Updated gpg-binary
- Updated greek language files
To specify which languages are included (for the installer's language selection) check AppInfo\installer.ini. You currently have English, German, Italian, PortugueseBR, Russian and Spanish set to
true. To simplify things you can just delete any languages you want set to false.
You should also set Language=Multilingual in appinfo.ini.
If you are after full PortableApps Platform integrated language switching, let me know and I will help you out with it.
Some other things:
conf=%PAL:AppDir%\gpg4usb\confto your [DirectoriesMove] to handle this (otherwise it will be deleted when a user upgrades or re-installs)
thanks a lot for your answer. Unfortunatly I still have a few problems:
- There are a few languages integrated in gpg4usb which aren't listed in the installer.ini (e.g. chinese). So these aren't available for the installer I think, right?
- For now the only files created by the program are in the App\gpg4usb\conf directory. But there is the App\gpg4usb\keydb directory which is modified while gpg4usb is running (it contains the gpg file database), but contains files before running gpg4usb for the first time. So for this I moved the keydb folder to the Data directory and added the following two lines to the [DirectoriesMove] section
Unfortunatly the files contained in the keydb directory seem to be newly created. What do I have to do, so that the contained files are used on first run?
The %AppData%\gnupg isn't used by gpg4usb, so this folder shouldn't be created, I dont know, why it is. I just took the installer, which was created by someone else before. I think, I would just remove the entry in the ini file.
I've put the newly created installer here, which also contains the other changes you mentioned.
All the additional languages should be there, but sometimes they don't quite match what you think they are eg. when looking for Chinese, there is both SIMPCHINESE and TRADCHINESE in installer.ini.
The keydb folder seems to be created fine when it doesn't exist. Does it really need to be there before running?
If you really do have user data that needs to be there before first run don't place them in Data - instead place them in App\DefaultData. Anything in DefaultData will be copied to Data on the first run, or after a user deletes their Data directory.
Otherwise you can delete the gnupg line since it isn't needed and everything should work fine.
again thanks a lot for your help.
I've set the languages for the installer nearly appropriatly. I've excluded italian, since the last update we'd got there was for gpg4usb-0.2.5, so we excluded it. The only language I couldn't fin was burmese, but this indeed is a little tricky, because appropriate fonts are not included in windows. These have to be installed separatly...
I've put the keydb folder to DefaultData. This isn't really necessary to run the application, but we've put our own public key there to ligthen the first start for beginners, so they can test the program by sending an encrypted mail to us (which already used some users to get first experiences with using encryption). We also thought, that the use of the keylist is more obvious, if there's already a key contained in it.
So, I think, the program should be clean now. As I mentioned earlier, gpg4usb is supposed to be portable by itself, so there shouldn't be any registry entries written and no files changed apart from the Data/keydb folder and the Data/conf/gpg4usb.ini file.
I removed the gnupg folder of the [DirectoriesMove] section, since this isn't needed.
I've uploaded the updated test file to gpg4usb-0.3.2-1_dev_test3
A question left is, if the linux binaries should be removed to save some space.
Glad to help.
I had a look myself and Burmese doesn't exist in the Installer or Platform, so that is fine to leave out.
Good idea having a preset key, it confused me a bit as a new user.
Couple of extra issues and questions:
Otherwise, I will put something together for language switching a bit later and post what you need to add, then we should have it finished.
EDIT: And yes you can delete the linux specific files. That will save around 7Mb from the installed package, which is over one third of the overall size.
Add the following code to your \AppInfo\Launcher\gpg4usbPortable.ini:
This will allow the PortableApps Platform to set the language automatically when the user has set the option to start all apps in the Platform's language.
A quick bug report too: when gpg4usb is in Hebrew or Arabic (rtl language format) the non-rtl languages display as "(svenska (sv" instead of "(sv) svenska". The rtl languages show up fine in both rtl and ltr format.
I made the changes to the gpg4usbPortable.ini. Seems to work fine with setting the chosen language.
We're aware of the little bug in the language list. We'll fix this in the next release. Our arabic translator said, that most programs are much worse with dealing rtl languages.
I've uploaded the next version to gpg4usbPortable 0.3.2-1 dev test 4.
I've looked at the code and would change the following:
One section is incorrect named (In the section [LanguageString] is missing the "s" at the end). Also in this section, only those entries are required, where left-hand and right-hand of the equal sign are different values. Consequently, the section [LanguageStrings] can be formulated as follows:
In your offered version will appear for the languages Farsi and SimpChinese instead of that the language English in the Portableapps.com platform.
If this section is included, ENGLISH= is required. All other languages are optional and default to false. Accordingly, except for the entry regarding "English" only those languages are to be reported, which have the value true. Therefore the section [Languages] can be written as follows:
As the dev winterblood mentioned, you can remove the complete section [FileTypeIcons] in the file appinfo.ini, because you have listed there only the exemplary entries of the documentation at all, and insofar there is no real relation to your application.
For the same reason you can also remove the folder named "FileTypeIcons", which is contained in the folder AppInfo.
1. Good pick up on the typo, I must have fixed that in-code after copying it here. but Farsi != Burmese. Farsi is the Iranian language, Burma is in southern asia, and their languages are not the same.
2. Once again, Farsi does not belong there.
Unfortunately I have taken the false entry "FARSI=true" in the file installer.ini unverified. Indeed is after the ISO standard 639-1 the language code for Burmese "my". Accordingly should be removed the entry "fa=my" in the section [LanguageStrings] under No. 1 as well as the entry "FARSI=true" in the section [Languages] under No. 2.
For my personal understanding I have a question regarding the section [Languages] in the file installer.ini. Is it right so far, that the entries in that section have only meaning for the choice of the language during the installation process? And which meaning has the entry "Language=Multilingual" in the section [Details] of the file appinfo.ini exactly? Does that entry both point out a) that the installation in different languages is possible and b) that this program is available in multiple languages?
1. Yes, [Languages] indicates which languages to include in the installer.
2. I believe we only make the installer available in the same languages as the app itself (when they're available).
3. The appinfo.ini part relates to the app itself.
Previously known as kAlug.
ok, thanks to you both for the hints about the languages sections.
1. I added the s to
[LanguageStrings]and removed the
fa=myline and all the lines where the left and right equals.
2. I removed all the entries set to false in
3. I removed the
[FileTypeIcons]section and the FileTypeIcons folder.
The installer log reports three warnings on building:
LangString "downloadplural" set multiple times for 2052, wasting space (PortableApps.comInstallerLanguages\SimpChinese.nsh:37)
Variable "ITaskbarList3" not referenced or never set, wasting memory!
Variable "INTERNALEULAVERSION" not referenced or never set, wasting memory!
I think, these can be ignored, right? Doesn't sound like a too large waste of memory to me.
The new installer is:
Download gpg4usb 0.3.2-1 Development Test 5 [14.0MB download / 19.4MB installed]
Please put the newest link in the main body of the original post so it's easier for people to get to. Thanks for your work by the way.
So, how do I propose this version to get listed in the Test releases forum?
There is an old version (0.3.0) contained there, but this shouldn't be used anymore, since this one (0.3.2-1) is much more stable and rounded down.
And do you think, it is ready for it? I have the impression, since there weren't any corrections proposed anymore.
Just to let you know: gpg4usb was bundled in it's portableapps version in the special edition of ct "security" ( ct is the most popular journal in germany for it-experts).
Thanks, that's good to know. And congrats on getting it included
Is gbg4usb release ready at this point? As in, you're confident we've addressed all previous issues brought up and are willing to support it ongoing? If so, I think we should get this in the directory. Another open source encryption tool is always a plus.
Sometimes, the impossible can become possible, if you're awesome!
Yes, we'll support it ongoing and we think, that it is pretty stable.
Since it is build to be protable, it isn't to much trouble to customize it for portableapps.
I would like to propose gpg4usb for official release, but I dont know how to "Compile the Development Test Splash Screen into your launcher".
How can this be done? I didnt find any documentation about this.
In addition I just build a portable version of gpg4usb-0.3.3.
Should I post it here or open a new thread? It has minor changes in comparison to 0.3.2.
I would appreciate any help.
I see in the last comment that the latest version (3.3-1) was built, but I don't see it available for download anywhere. Is this program being supported anywhere, and is the latest version in fact available for download? Thanks.
The new build has been released and linked here