#Blocage des IP $url_site="desguin.net/spip"; # Entrez ici vos parametres de connexion mysql $host="ns1.gigaweb.be"; $user="admin_robot"; $mdp="9,cOZ0xN"; $database="ced_spip"; ?>
13 August 2009, by
Other versions of this article:
Although the emulator has limitations not allowing convenient interactive batches, this installation is workable.
Install s60DosBox and its binary dependencies 
Install (just decompress) PGP 2.6.3i in an ad hoc sub-folder (for instance “PGP”) of the DosBox main folder
Adjust the autoexec section of dosbox.conf:
# Lines in this section will be run at startup.
# map virtkeybmap.txt (instead of premapper.txt) to test virtual keyboard for touch-ui
mount c c:\data\dos
mount b e:\b
rem s60map c:/data/premapper.txt
echo please wait while PGP is coming
# c:\nu below is for Norton Utilities, including NDOS
# c:\ut below is for various MS-DOS utilities you may consider useful
PATH = z:\;c:\ut;c:\nu;c:\pgp
Adjust PGP’s config.txt:
MyName = "your_name"
Language = en
CharSet = cp850
ArmorLines = 24
Armor = on # Use -a flag for ASCII armor whenever applicable
TextMode = on # Attempt to use -t option where applicable
ClearSig = on # Use ASCII armor even for unencrypted signed messages
Verbose = 2 # Verbose diagnostic messages
ShowPass = on # Echo password when user types it
Interactive = on # Interactively prompt the user when adding keys (-ka)
EncryptToSelf = on # Encrypt all messages with your own public key
TZFix = -9 # Brussels timezone
Write some basic batches like these:
echo Arg1 = "What" Arg2 = "For whom"
echo Example : cr message recipient
pgp -e %1 %2
echo Unique argument = "What"
echo Example : un message.asc
pgp -d %1
echo Sign with cypher
echo Arg1 = "What" Arg2 = "ForWhom" Arg3 = "ByWhom"
echo Example : si message recipient author
pgp -se %1 %2 -u %3
…etc. Refer to pgpdoc1.txt and pgpdoc2.txt (supplied with PGP 2.6.3i) to write more batches.
Add a “tips.txt” file in your PGP folder as a reminder of things to remember (depending on the small batches you have written):
PGP 2.6.3i Symbian s60v3 SIMPLIFIED INSTRUCTIONS:
Crypt : cr What ForWhom
Conventional cyphering: chx What
Uncrypt : un What
Sign with cypher : si What ToWhom ByWhom
ClearSig : cs What ByWhom
Check : pgp What
Help : pgph
Execute DATE to adjust time stamp
Execute SET PGPPASS=[passphrase of your PGP key]
(As your PGP/MS-DOS session takes place in RAM, you may safely set the environment variable “pgppass” every time you start a session: when you close the emulator by pressing the red key[/rouge], your passphrase will be erased without leaving a trace. Of course, do NOT write it in “tips.txt” or in the “autoexec” section of “dosbox.conf”, as those files are persistent).
Maintain a PC mirror folder of your Symbian PGP folder in order to manage your key rings easily.
-Do not cypher big files (say 100 Kb or less)
-Avoid signing documents, as DosBox is unable to manage date and time properly . If you have installed Norton Utilities (see below), launch NDOS and execute DATE every time you start the s60DosBox emulator. Anyway, be aware that the time stamp will not be accurate (the date may be correct, the time will never be true).
“RSA Legacy” keys are accepted, not recent keys (“DH/DSS” or “DSA” for instance) generated by PGP v8.xx or GnuPG 2.xx. If you already have one of those new keys, you will need to create a “legacy” RSA key from PGP 2.6.3i and certify it with your main key. Better so: if your key dedicated to mobile privacy is compromised, your main key will not be affected.
This international version of PGP (the “i” in “2.6.3i”) generates keys using the IDEA algorithm, which is (or used to be) patent-protected in some countries including France (but not Belgium). For this reason, GnuPG (where anything patented is banned) does not recognize them. Hence, anything cyphered or signed for your ’RSA Legacy’ key by PGP 2.6.3i will be decodable only with PGP 2.6xx, not with GnuPG 2.xx . PGP 8.xx (commercial package) has a downwards compatibility feature allowing to use Legacy keys, even when cyphering/signature was made using PGP 2.6xx. 
Although this may be a valuable contribution for the Symbian world, which tragically lacks efficient privacy and authentication tools, I consider it just as a temporary solution, until a state-of-the-art tool is released: what users need is an application fully interoperable with current standards, i.e. advanced, robust algorithms (AES, DSA etc.) and completely integrated with the Symbian operating system, including direct call from email, instant messaging, office and SMS applications. The main interest of this post is to produce evidence that running asymmetric cryptography tools IS workable with Symbian s60.
The rudimentary workaround described here is certainly improvable. Any suggestion welcome.
 On my E90, I could not run the last dosbox_073_s60_20091207_rc2 version. However, the previous dosbox_s60_20090623 version is ok (not the ’slim’ one, only the ’full’ one).
 However, if cyphering and/or signature was made using GnuPG with an RSA key, no problem.
 Explanation : keys generated by PGP 2.6.3i can be exported to GnuPG; it is able to use them (without using the infamous algorithm) for cyphering or signing. But the result of cyphering or signature made by PGP 2.6.3i with this kind of key will not be decodable by GnuPG, as it will involve the infamous algorithm. It’s a bit complicated, OK. This is a superb illustration of the so-called “progress” (sic) allowed by ’patentability’ of software, against what Europe is resisting, but half-heartedly.