Re: How to open Windows GPG encrypted files on Mac OS X
Hi, we recently had some problems with TextWrangler and GPGServices (most likely a problem with the handling of different line-endings in TextWrangler and/or GPGServices). Please try to decrypt the encrypted text using the standard TextEdit.app of OS X. If that fails too and if you still have access to the windows system, could you try to send an encrypted text. My public key has the keyID 59B34B61 and the key of the GPGTools team has the ID 00D026C4. Kind regards, Moritz Ulrich -- Moritz Ulrich On Samstag, 30. April 2011 at 11:49, Alexander Willner wrote: > Hi, > > Please test the latest GPGServices beta version from gpgtools.org and send > further requests to their mailing list. > Hope we'll figure out how to solve your issue. > > Br, Alex > > -- > sent from my mobile phone, > please excuse my brevity > > On 30.04.2011, at 04:17, insightfulmac wrote: > > > > > Hi, > > > > I have been using GPG for Windows for some years. Recently I've bought a > > Mac. I've installed the GPG for Mac OSX, but the problem is that I am not > > able to open the old GPG for Windows encrypted files. > > > > I have installed the GPGServices, so what I do is: open the Windows > > encrypted files on Mac using the TextWrangler text editor, selecting the > > encrypted text and choosing Services->OpenPGP Decrypt. > > > > However, I always receive the following error: "Decryption failed. No > > decryptable text was found within the selection". > > > > Does anyone know how can I decrypt Windows-GPG encrypted files on Mac OS X? > > > > Thanks > > -- > > View this message in context: > > http://old.nabble.com/How-to-open-Windows-GPG-encrypted-files-on-Mac-OS-X-tp31510136p31510136.html > > Sent from the GnuPG - User mailing list archive at Nabble.com. > > > > > > ___ > > Gnupg-users mailing list > > Gnupg-users@gnupg.org > > http://lists.gnupg.org/mailman/listinfo/gnupg-users ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to open Windows GPG encrypted files on Mac OS X
Hi, All, First of all, thanks for the answers! After reviewing all answers, I have solved my problem! As Charly correctly pointed out, there is a slightly difference between TXT files from Mac OS X and Windows (basically Windows end-of-line is /R/F and Mac is /F)... As a newbie in Mac OS X, I didn't know that... The solution was to "convert" the Windows TXT file to the Mac OS X TXT format. Then, GPGServices worked perfectly! By the way: GPGServices is a very elegant solution! Better and simpler than all frontends I have used in order to decrypt files in Windows... Best regards! insightfulmac wrote: > > Hi, > > I have been using GPG for Windows for some years. Recently I've bought a > Mac. I've installed the GPG for Mac OSX, but the problem is that I am not > able to open the old GPG for Windows encrypted files. > > I have installed the GPGServices, so what I do is: open the Windows > encrypted files on Mac using the TextWrangler text editor, selecting the > encrypted text and choosing Services->OpenPGP Decrypt. > > However, I always receive the following error: "Decryption failed. No > decryptable text was found within the selection". > > Does anyone know how can I decrypt Windows-GPG encrypted files on Mac OS > X? > > Thanks > -- View this message in context: http://old.nabble.com/How-to-open-Windows-GPG-encrypted-files-on-Mac-OS-X-tp31510136p31515316.html Sent from the GnuPG - User mailing list archive at Nabble.com. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to open Windows GPG encrypted files on Mac OS X
On Sat, 30 Apr 2011 20:34:01 -0700 (PDT) insightfulmac articulated: > insightfulmac wrote: > > > > Hi, > > > > I have been using GPG for Windows for some years. Recently I've > > bought a Mac. I've installed the GPG for Mac OSX, but the problem > > is that I am not able to open the old GPG for Windows encrypted > > files. > > > > I have installed the GPGServices, so what I do is: open the Windows > > encrypted files on Mac using the TextWrangler text editor, > > selecting the encrypted text and choosing Services->OpenPGP Decrypt. > > > > However, I always receive the following error: "Decryption failed. > > No decryptable text was found within the selection". > > > > Does anyone know how can I decrypt Windows-GPG encrypted files on > > Mac OS X? > > > > Thanks > > > > Hi, All, > > First of all, thanks for the answers! > > After reviewing all answers, I have solved my problem! As Charly > correctly pointed out, there is a slightly difference between TXT > files from Mac OS X and Windows (basically Windows end-of-line > is /R/F and Mac is /F)... As a newbie in Mac OS X, I didn't know > that... > > The solution was to "convert" the Windows TXT file to the Mac OS X TXT > format. Then, GPGServices worked perfectly! > > By the way: GPGServices is a very elegant solution! Better and > simpler than all frontends I have used in order to decrypt files in > Windows... > > Best regards! Please don't top post (corrected here). If you don't know what that means, Google for it. Windows, and DOS before it, uses a pair of CR and LF characters to terminate lines. UNIX (Including Linux and FreeBSD) uses an LF character only. The Apple Macintosh, finally, uses a CR character only. In other words: a complete mess. This has basically always been the norm. I have used many different programs to convert between the multiple styles without incident. Many modern applications, at least on a Windows platform, can transform these different styles transparently for the end user. While I have no experience with "GPGServices", I am wondering if that isn't something that should be considered. From the GPGServices web site: GPGServices is a plugin for the global OS X Services menu, which adds the ability to almost any application (e.g. Safari, Finder, or TextEdit) to use OpenPGP functionalities. In a nutshell: Any folder: sign and encrypt. Any file: verify, sign, import, encrypt, and decrypt. Any text selection: verify and import. Any text field: verify, sign, import, export, encrypt, and decrypt. Please note that some of these features are still in development. I am assuming that the disclaimer there is to cover the fact that it clearly does not work correctly for the above mentioned items when said item(s) are created on different platforms. Perhaps filing a request for the feature or bug report might be appropriate. -- Jerry ✌ gnupg.u...@seibercom.net _ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. signature.asc Description: PGP signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Displaying signature algorithms when doing --check-sigs, disabling algorithms for web of trust.
Hi Is there a way to display hash algorithms along with public key algoritms (and its lenght) of signatures when issuing "--check-sigs" (or check in the "--edit-key" shell)? I also would like to know if there is a way to force that GPG will not accept signatures made with a certain hash or public key algorithms, when calculating validity of keys trough web of trust? In the case of public key it should be possible to specify key length. I didnt have luck finding answers to my questions in documentation, only a partial solution to my second question: There is an option "disable-pubkey-algo" that will totally disable choosen public key algoritm, however it only works after doing --check-trustdb with that option, otherwise it still accepts key signatures (certifications) made with disabled algorithm, as a valid signatures (for example when calculating key validity, or when doing "--check-sigs"). It can create problems when changing from "trust-model pgp" to "trust-model direct", beacuse as GPG says, there is "no need for a trustdb check with `direct' trust model". But is that really true that that there is no need for trustdb check? Im not sure, but GPG doesnt allow that. So while "disable-pubkey-algo" can be used to disable signatures made with certain public key algorithm when calculating validity of keys trough web of trust, there is no way to specify key length. Also there is no such option for hash algorithms. No "disable-hash-algo" or "disable-cert-digest-algo" or anything like that. Could you point me to specific portions of documentation? Thanks for help ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: How to open Windows GPG encrypted files on Mac OS X
> Windows, and DOS before it, uses a pair of CR and LF characters to > terminate lines. UNIX (Including Linux and FreeBSD) uses an LF > character only. The Apple Macintosh, finally, uses a CR character only. Classic Mac OS used a CR only. Mac OS X uses an LF just like the other Unices. Given Classic was deprecated over a decade ago and EOLed almost that long ago, Classic can now be relegated to the dustbin of history. PGP.sig Description: This is a digitally signed message part ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
gpgkeys: HTTP post error 7: couldn't connect: Not found
Newb here. My machine is having problems reaching keyservers unless they are specified with their IP address. I can't resove hkp://* hostnames and I also can't reach ldap servers either. (I compiled my gpg with ldap support but it says: gpgkeys: protocol `ldap' not supported gpg: no handler for keyserver scheme `ldap' gpg: keyserver search failed: Keyserver error so I can't reach them too.) I am using: gpg (GnuPG) 2.0.17 libgcrypt 1.5.0-beta1 I am not behind a proxy, the other (Windows) computer that is on the same network as me is reaching servers normal (so, it's probably not a router problem) and I tried reaching several different servers (well, I tried all the servers that i found) and still no luck on this machine. When I try to upload my keys using: gpg --keyserver hkp://subkeys.pgp.net --send-keys 1E19 this is the error that I am getting: gpg: sending key 1E19 to hkp server subkeys.pgp.net : can't connect to `subkeys.pgp.net': host not found gpgkeys: HTTP post error 7: couldn't connect: Not found gpg: keyserver internal error gpg: keyserver send failed: Keyserver error When that failed I tried this: gpg --keyserver-options "honor-http-proxy broken-http-proxy" --keyserver \ hkp://subkeys.pgp.net --send-keys 1E19 I'm running Gentoo Linux 64bit and 2.6.38 kernel (with hardened patches). I tried using different DNS nameservers, but still, my machine doesn't know how to resolve hkp hostnames. -- . O . | Djordje Todorovic [aceofknaves at G_M_A_I_L .com] | O . O . . O | GPG-Key: 2048R/1E19(http://pgp.mit.edu) | . O O O O O | BFF2 1C7F A70D ECCD FA8F C946 DB32 B498 1E13 3339 | . O . pgp8ehqvyBxlz.pgp Description: PGP signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Syncing Keys between multiple computers?
Whats the easiest way to keep GPG keys synced between my computers? Like, I have my MacBook, which is usually my main machine, but I also have my netbook which I prefer carrying around and sometimes I update my key with User IDs on either machine but the only way I have thought of is to export and import every single time. Is there an easier way? Christopher Tran http://christran.in/ 84730CD9 smime.p7s Description: S/MIME cryptographic signature PGP.sig Description: This is a digitally signed message part ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Syncing Keys between multiple computers?
Christopher Tran wrote: > Whats the easiest way to keep GPG keys synced between my computers? Like, I have my MacBook, which is usually my main machine, but I also have my netbook which I prefer carrying around and sometimes I update my key with User IDs on either machine but the only way I have thought of is to export and import every single time. Is there an easier way? The simplification is in /how/ you import the keys: gpg --import /path/to/other/secring.gpg gpg --import-options import-local-sigs --import /path/to/other/pubring.gpg Do this first on one machine bringing over the changes from the other and then repeat on the second machine. By importing the full keyring, there is no need for the export step. Note: this works for now. It is likely to change and break in some form in the future. An alternate strategy is to use portable storage such as an USB memory stick or some other form of flash memory, and merge the keyring files onto that device and then point GnuPG to look there for keys by editing gpg.conf. -- John P. Clizbe Inet: John (a) Enigmail DAWT net FSF Assoc #995 / FSFE Fellow #1797 hkp://keyserver.gingerbear.net or mailto:pgp-public-k...@gingerbear.net?subject=HELP Q:"Just how do the residents of Haiku, Hawai'i hold conversations?" A:"An odd melody / island voices on the winds / surplus of vowels" signature.asc Description: OpenPGP digital signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Syncing Keys between multiple computers?
On May 1, 2011, at 7:51 PM, John Clizbe wrote: > Christopher Tran wrote: >> Whats the easiest way to keep GPG keys synced between my computers? Like, I > have my MacBook, which is usually my main machine, but I also have my netbook > which I prefer carrying around and sometimes I update my key with User IDs on > either machine but the only way I have thought of is to export and import > every > single time. Is there an easier way? > > The simplification is in /how/ you import the keys: > >gpg --import /path/to/other/secring.gpg > >gpg --import-options import-local-sigs --import /path/to/other/pubring.gpg > > Do this first on one machine bringing over the changes from the other and then > repeat on the second machine. By importing the full keyring, there is no need > for the export step. > > Note: this works for now. It is likely to change and break in some form > in the future. The issue about future versions is that you probably won't be able to import a keyring file directly. At the moment, a keyring file and the exported keyring format happen to be the same, but this is likely to change. A method that should work equally well today and in the future is: gpg --export-secret-keys > my-secret-keyring.gpg gpg --export-options export-local-sigs --export > my-public-keyring.gpg (copy the files over) gpg --import my-secret-keyring.gpg gpg --import-options import-local-sigs my-public-keyring.gpg It's an export plus an import, but you don't need to explicitly state which key(s) you want to play with. Just bring the whole ring over. David ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Syncing Keys between multiple computers?
On 05/01/2011 03:49 PM, Christopher Tran wrote: > Whats the easiest way to keep GPG keys synced between my computers? Like, I > have my MacBook, which is usually my main machine, but I also have my netbook > which I prefer carrying around and sometimes I update my key with User IDs on > either machine but the only way I have thought of is to export and import > every single time. Is there an easier way? if your changes to your keys and user IDs aren't supposed to be secret, (i.e. they are not non-exportable certifications, and you have not added any new secret subkeys or primary keys) then you can just push your updates to the keyservers when they happen: gpg --send $CHANGED_KEYID and then when you switch to a different machine, you can just ensure everything is up-to-date: gpg --refresh These commands probably want a keyserver; so if you don't have a default chosen already, add the following line to ~/.gnupg/gpg.conf (on both machines): keyserver pool.sks-keyservers.net If you change ownertrust, add new secret keys (either primary keys or subkeys), or make non-exportable certifications, then you'll want to do the export and import steps. on the origin machine: gpg --export-ownertrust > ownertrust gpg --export-options export-local --export-secret-keys > secring gpg --export-options export-local --export-keys >pubring and on the destinaton machine: gpg --import-ownertrust < ownertrust gpg --import-options import-local --import < secring gpg --import-options import-local --import < pubring note that you might have some trouble updating your secret keys like this, due to a known bug: https://bugs.g10code.com/gnupg/issue318 so if something changes in your secret key (e.g. new subkeys), you might need to move the old secring out of the way or do more complicated merges with gpgsplit (if you've had the misfortune of generating new subkeys on both systems). hth, --dkg signature.asc Description: OpenPGP digital signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Slightly OFF TOPIC - Traffic analysis...in reverse?
Hi, in the avalanche of news about the [recently] late Osama Bin Laden, I noticed a small item: the area where he was caught had been *also* defined/pinpointed by the lack of cellular phone communications. Go figure. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Slightly OFF TOPIC - Traffic analysis...in reverse?
Charly Avital wrote: > Hi, > > in the avalanche of news about the [recently] late Osama Bin Laden, I > noticed a small item: the area where he was caught had been *also* > defined/pinpointed by the lack of cellular phone communications. Among other anomalies at the compound: No cell traffic, no internet access, burning trash instead of putting it out for pickup, etc... -- John P. Clizbe Inet: John (a) Enigmail DAWT net FSF Assoc #995 / FSFE Fellow #1797 hkp://keyserver.gingerbear.net or mailto:pgp-public-k...@gingerbear.net?subject=HELP Q:"Just how do the residents of Haiku, Hawai'i hold conversations?" A:"An odd melody / island voices on the winds / surplus of vowels" signature.asc Description: OpenPGP digital signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users