You are here

gpg4usb 0.3.3-2 Development Test 1

21 posts / 0 new
Last post
gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
gpg4usb 0.3.3-2 Development Test 1

Application: gpg4usb
Category: Security
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]
(MD5: 500d88095fcaea4d0bd82921091b5d34)

Release Notes:

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 Language=Multilingual in appinfo.ini
  • Set languages in the AppInfo\installer.ini
  • Removed the [Dependencies] section and the EULA line
  • Added conf=%PAL:AppDir%\gpg4usb\conf and keydb=%PAL:AppDir%\gpg4usb\keydb to [DirectoriesMove]


Development Test 3 (2013-02-01):

  • Some language corrections in installer.ini
  • Put the keydb folder to DefaultData directory
  • Removed gnupg folder from [DirectoriesMove]


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)
  • Simplified [Languages] section in installer.ini
  • Removed [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
Ken Herbert
Ken Herbert's picture
Offline
Last seen: 1 hour 14 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
To specify which languages

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:

  • In appinfo.ini, you can remove the [Dependencies] section (it is set to the default) and remove the EULAVersion line (if you are not going to have an EULA in the package)
  • I didn't see any files/folders created in %AppData%\gnupg - are you bypassing this with the start_windows.exe or is it only specific functionality (that I must not have touched) that uses this folder?
  • As far as I can see settings are being stored in App\gpg4usb\conf. You will need to add conf=%PAL:AppDir%\gpg4usb\conf to your [DirectoriesMove] to handle this (otherwise it will be deleted when a user upgrades or re-installs)
gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
Languages and modified files

Hello winterblood,

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

conf=%PAL:AppDir%\gpg4usb\conf
keydb=%PAL:AppDir%\gpg4usb\keydb

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.

Best regards

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 1 hour 14 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
All the additional languages

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
gpg4usb 0.3.2-1 Development Test 3

Hello winterblood,

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.

Best regards Smile

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 1 hour 14 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
Not a problem

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:

  • Your appicon_32.png is 128x128 pixels. You probably just copied over it accidentally or exported from the wrong base icon.
  • You can delete the App\AppInfo\FileTypeIcons folder
  • In appinfo.ini you can delete the entire [FileTypeIcons] section. You only have example data there which won't apply to gpg4usb
  • I can't see any but just thought I'd ask: are there any paths stored in any of the configuration files that need to be handled?

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.

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 1 hour 14 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
Language Switching

Add the following code to your \AppInfo\Launcher\gpg4usbPortable.ini:

[FileWrite1]
Type=INI
File=%PAL:DataDir%\conf\gpg4usb.ini
Section=int
Key=lang
Value=%PAL:LanguageCustom%

[Language]
Base=%PortableApps.comLocaleglibc%
CheckIfExists=%PAL:AppDir%\gpg4usb\ts\gpg4usb_%PAL:LanguageCustom%.qm
DefaultIfNotExists=en

[LanguageString]
ar=ar
de=de
en_US=en
es=es
he=he
pl=pl
pt_BR=pt_BR
ru=ru
sv=sv
vi=vi
zh_CN=zh
zh_TW=zh_TW

[LanguageFile]
Type=INI
File=%PAL:DataDir%\conf\gpg4usb.ini
Section=int
Key=lang

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
gpg4usb 0.3.2-1 Development Test 4

Hello,

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.

Best regards.

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
some corrections

I've looked at the code and would change the following:

  1. Switching of the language in the PortableApps.com platform

    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:

    [LanguageStrings]
    en_US=en
    fa=my
    zh_CN=zh
    

    In your offered version will appear for the languages Farsi and SimpChinese instead of that the language English in the Portableapps.com platform.

  2. Simplifying of the section [Languages] in the file installer.ini

    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:

    [Languages]
    ENGLISH=true
    ARABIC=true
    FARSI=true
    GERMAN=true
    HEBREW=true
    POLISH=true
    PORTUGUESEBR=true
    RUSSIAN=true
    SIMPCHINESE=true
    SPANISH=true
    SWEDISH=true
    TRADCHINESE=true
    VIETNAMESE=true
    
  3. Removing of the section [FileTypeIcons] in the file appinfo.ini

    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.

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 1 hour 14 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
1. Good pick up on the typo,

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.

tapsklaps
Offline
Last seen: 6 years 1 month ago
Developer
Joined: 2010-10-17 08:11
taken unverified

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​​?

Aluísio A. S. G.
Offline
Last seen: 8 years 4 months ago
DeveloperTranslator
Joined: 2010-11-09 17:43
Regarding installer.ini

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
gpg4usb 0.3.2-1 Development Test 5

Hello,

ok, thanks to you both for the hints about the languages sections.

1. I added the s to [LanguageStrings] and removed the fa=my line and all the lines where the left and right equals.

2. I removed all the entries set to false in [Languages].

3. I removed the [FileTypeIcons] section and the FileTypeIcons folder.

The installer log reports three warnings on building:

3 warnings:
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]
(MD5: 77b3d78eab711a73814bf336ff303475)

darksabre76
darksabre76's picture
Offline
Last seen: 1 month 1 week ago
Developer
Joined: 2011-04-19 23:28
Update original text

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
Add to Development Test Releases forum?

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
gpg4usb was bundled in the ct cd

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).

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 33 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Thanks, Release Ready?

Thanks, that's good to know. And congrats on getting it included Smile

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!

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
Ongoing support

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
Official release

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.

In AussieLand
Offline
Last seen: 8 years 10 months ago
Joined: 2015-04-29 03:19
Version 3.3-1 available?

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.

gpg4usb_team
Offline
Last seen: 8 years 10 months ago
Joined: 2013-01-24 15:59
The new build has been

The new build has been released and linked here

Log in or register to post comments