tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/745-copied-files-cant-be-decrypted
GPGTools: Discussion
2018-10-18T19:52:41Z
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-01-28T20:39:37Z
2012-01-28T20:39:37Z
copied files can't be decrypted
<div><p>Hey Q,</p>
<p>I'm not sure I already understand what you are trying to do. The
Original_encrypted file doesn't help a lot since I can't encrypt
it.</p>
<p>And the encrypted message does not look ok. Encrypted messages
should look similar to this here:</p>
<p>-----BEGIN PGP MESSAGE-----</p>
<p>
SF58k7YrgWYOYn9gGPPKbg4CgfwEfQkIecKUTiFJtru3/L29ovqPdTEgCHQAhp4x+sq76KEhE8uWgW4RMcZrdLEh3xBijinM6n6amzyLm7H+YAlpzC1orlB8W9r53dUQOjPd/6h6cOhxo4waEj2xnsHAPW9z24tpRBZP+L0c/4/w44Ev4+LUJkUe+Wgj6Ibf8/Vd9Ey7wpd1Py5jRxxxnHrbLl88CL5ppW4G/Af/S0eepx4mswDX4rUG2XR27dGVQRupQpQCfg0atJgNm/62Qlk6uxejQJUchjt8X4dweEP2yRwOECkMqMXz6F4ged6Y2Bwq5JIASjsH4bNCxRkeRv0vkKNSWHVR5lXtHRrtLj/44Tec1W/RD7uf3fJoeUaVk3oVQcfvt0VUkB8C7KEEBugWlgkTCilwt8+4QUQB8e4mfvfYgv2v1L0WFtbW80II1QrjFhLvUpw/39O7Rc3hEcZwgYmHOQV5jAlKhRwAfeylTt8HGQTGvtgi24fa0kABtwtjfi0MgTOrH9QUNGBurAcIpE17Yy7YRVNyIPmsX4/jLmri62QY8Qa9aOmKo6zQGgSCmdzH5Jbh5AMrtjQc<br>
=igD0 -----END PGP MESSAGE-----</p>
<p>So since the message looks already broken, maybe that's the
reason why GPGServices thinks there is nothing to decrypt. It
doesn't even know where the PGP Message is starting, since that
info is missing.</p>
<p>As for the file you have received: Are you sure he used your
public key to encrypt the message? Otherwise you won't be able to
decrypt it.</p>
<p>Maybe do some more testing and provide more details. Also feel
free to send a testmail to me (find my key in the key server: steve
AT gpgtool DOT org</p></div>
Steve
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-01-30T20:27:06Z
2012-01-30T20:27:06Z
copied files can't be decrypted
<div><p>Hello Steve:<br>
You are right, it doesn’t look right.<br>
Please let me take you step by step.<br>
1st I open Textedit and write a message. The message says,
“This is a message.”<br>
I then save the TextEdit document as a plain text file. (Test GPG
Message.txt) (rtf doesn’t work)<br>
Then I go to the finder and I right click on that file and choose
“Encrypt”. I choose someones public key. In the example
below I have choosen the GPG Tools Project key.<br>
That creates a file "Test GPG Message.txt.gpg"<br>
Then I open the Encrypted file with TextEdit and it looks like
this:<br>
Ö<br>
͉ö€ÀÊq<br>
äBæ<br>
ªÓ¶y˙x‡µ9¶Æª¸‡\Ã˙<br>
Üá≠?<br>
3◊;u<sup>Ôpj‡…é1Y{îaùN,p3Êî÷Í!™<br></sup>
x;π√<br>
â∞´8…9Äœ¸—˙TÒ7[5í¯Å€Æèœü’<br>
IØlLªŸÖ¶¯Œ<em><code>I†∑ê≠‚˘¯€cmÁQ}£flT©</code>–}”ˆT*oöœ‡âæ2≥tÊ¢h∫Ωk§ã<code>÷~∏ö
3∑,eQ¶s∂Ǩ†;O~´ÕK^ŸLÄ‹åTs4é˛¯–Ω”>ò3åÒœfl4Q†îB√</code>Óhı9∂·òÚK’|§Épz®˛?ènµ7(”<br>
ßøÑ|Ù◊÷n\‹›˙-ÖS
üâÅ&…</em>.<code>´;
ˇ</code>>K0B)°94}Ö€D¢ˆ˚“a∞4™˛„‡Èí8rh„Òµk&•ø©BÁ<br>
Èo<br>
Ӂ/<br>
≥Ë·„ç:[ù´Ê)”;êbƒÌœˆÜêüYÖP¶ÏS©!0&pé÷Ä)]ø<sup>Ïå7O\<br></sup>
3äx@USq˘AÅ<br>
—æaÛ„À˝ÔE9îöÛt<br>
U®O.Sߧu´<br>
û!Qp""ß(L˛˘´«~UM?N«ÖÛXY(°“DR≤∆óWuò…~5‘!»{fl›Œ>¨8PS<br>
@8¿sZî^
YY„∏ù˚=©-Ä›Ñ≤4(ˇßN1%®ßÙ«√‰¬'/A%E“ßk±†E
(úÔ@¿R7<em>Õ<br>
ì≤Ö<br>
í3Ùó,V≈›¬«ûá"}»yftπ</em>XñÓfiI±äÛìd˜˛C’f<br>
∑yùüÃT˙ê_€†cIªãsªfiD≠ˇS-<br>
h\ºu<br>
‚á˛+⁄y<br>
˛ãˆ)Ä’‘çsR∫¡û&èG˙˛°Í~”Í¡%7€„|}<br>
√Dß<br>
’å<br>
3|LKOõJ<sup>Ü3B72K´v<br></sup>
°fl5»{ÜC›Z9ÊZƒíÛˆ%{GÃéPQ]l˛ˆ•õϨ”-yºaSÉó<sup>çÎ\Ã&/0iØ%εX∆W{ƒèÍfi7‰D´Eë◊‘Øfˆ‹œæƒ°’jkIm/<ù$¿-ôå—q{,≥0∂˜-Vˇ«z±óflÇ“¿<br></sup>
{»»mi—nJˆ3ε`U·Ä¡ÿ¬◊F1ãsAzd‹VQÇ$¬ÜÓ
C©lÄaa¥>≠üˇ¨á”<br>
∑<br>
ÛX≤µ</p>
<blockquote>
<p>
.⁄¯ø<ıò™)RÜ1óÙí)Ë$Ø
M;%≠Á°rî9ï0:$<br>
@7@Ê∑F‘-·≈“ܺ®8°t@áÃ≥-I6Ô”ót4∫cõ%PÌp(á›ü<sup>3EUŸ∑pάHaëa⁄,qr≈¢Ê"D¥ıÀ±Ñ</sup>
∑,º=R\¬ßtâ-H'NáÚ[*N˜±ñ<br>
Something is wrong. It doesn’t look right.<br>
Curiously however, If I make a similar message and have added my
key, and I right click and decrypt the file, it is readable. Also
if I encrypt a file with a friends public key and send it as an
attachment he can read it. But if I try to open the encrypted file
in TextEdit it looks like the garbage above and cannot be copied
back to a Text edit document and decrypted or pasted in the body of
an email. (Like you say there is not BEGIN and END)<br>
I would like to send you the file encrypted with your public key,
but I do not know how to find it. I do not understand what you mean
by, “(find my key in the key server: steve AT gpgtool DOT
org”<br>
I assume you mean with the AT changed to an @ and the DOT to a
“.”, but if I try to search the keyserver for that
(using GPG Keychain Access, under “Key” then
“Search for key” it says “no key
found”.<br>
Anyway, I am attaching the above message in encrypted form,encryped
with the GPG Tools Project key so you can test to see if you can
read it in that form when it is an attachment.<br>
Any advice would be appreciated.<br>
Q</p>
</blockquote></div>
D. Q.
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-01-30T21:57:17Z
2012-01-30T21:57:17Z
copied files can't be decrypted
<div><p>Hi Q,</p>
<p>What you're seeing once The message was encrypted<br>
is a binary presentation of the encrypted message.</p>
<p>The ASCII Version with BEGIN PGP MESSAGE is simply the
binary<br>
encoded using base64, which translates the binary into ASCII.<br>
If you right click on the file you should be able to decrypt
using<br>
the OpenPGP: Decrypt</p></div>
Luke Le
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-01-31T07:54:00Z
2012-01-31T07:54:00Z
copied files can't be decrypted
<div><p>Hello Luke:<br>
OK, That makes sense, I am looking at the Binary not the ASCii. And
I can decrypt it with my key and send the encrypted file as an
attachment for someone else to decrypt if it is encrypted with his
public key.<br>
But why can’t I cut and paste it into another blank text
document and then decrypt that document. In other words put it into
the body of an email for someone else to copy out into another .txt
document and then decrypt.<br>
If I try to cut and paste the encryped binary data, it can no
longer be decrypted. I just get a message, “no encrypted data
found”.<br>
Let me explain where I am coming from and why this has become an
issue for me. In the past I used the old PGP and was able to write
a document in any word processor, copy it to the clipboard, and
choose “encrypt clipboard”, then paste the clipboard
into any email or other document. The pasted and encrypted text was
in Ascii with the BEGIN & END message and could be
decrypted.<br>
It was very convenient.<br>
I can’t do that do that with this version of GPG. Maybe this
is a Mac problem, because I am told that under Windows, PGP has a
program called Kleopatra? that may be able to do this. But I see no
way to do it on the Mac as there is no visible
‘program’ for PGP, it is just built into the services
and I see nothing like "decrypt clipboard".<br>
Is there something I am missing? Is there some convenient way to
encrypt the clipboard and move the encrypted text around?<br>
Q.</p></div>
D. Q.
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-02-28T20:25:06Z
2012-02-28T20:25:06Z
copied files can't be decrypted
<div><blockquote>
<p>But why can’t I cut and paste it into another blank text
document and then decrypt that document</p>
</blockquote>
<p>This takes a bit too long to explain.</p>
<blockquote>
<p>Maybe this is a Mac problem</p>
</blockquote>
<p>No. It's just that GPG can create binary and ascii files. You're
working now with a binary file (who has created it?) that you can't
copy & paste using a text editor. All files that GPGTools is
creating are ascii files.</p></div>
Alex
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-02-29T00:41:08Z
2012-02-29T00:41:08Z
copied files can't be decrypted
<div><p>I confirmed D.Q.'s problem. The default gpg.conf which is
created by GPGTools does not include the "armor" switch, and
GPGServices>OpenPGP Encrypt created a binary encrypted file.</p>
<p>When I added "armor" as a line to my ~/.gnupg/gpg.conf,
GPGServices then created an ASCII armored file.</p>
<p>D.Q., for now, you can add a switch as I did. A future update of
GPGPreferences can manage this switch.</p></div>
cfraire
tag:gpgtools.tenderapp.com,2011-11-04:Comment/13208342
2012-02-29T11:48:17Z
2012-02-29T11:48:17Z
copied files can't be decrypted
<div><p>@all We now have a ticket for this problem. Feel free to
subscribe to <a href=
"http://gpgtools.lighthouseapp.com/projects/66966-gpgpreferences/tickets/43-add-a-checkbox-for-armor#ticket-43-4">
http://gpgtools.lighthouseapp.com/projects/66966-gpgpreferences/tic...</a>
if you want to be notified of changes made in regards to this
issue.</p>
<p>Thanks c. faire for your help. It is very welcome. :)</p>
<p>All the best, steve</p></div>
Steve