public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] JPG attachments - Macintosh BinHex-encoded file
Date: Thu, 5 Jan 2006 11:26:39 -0800	[thread overview]
Message-ID: <5bdc1c8b0601051126v10482e9n4e865259b994eccf@mail.gmail.com> (raw)
In-Reply-To: <20060105173829.GA6308@princeton.edu>

On 1/5/06, Willie Wong <wwong@princeton.edu> wrote:
> On Thu, Jan 05, 2006 at 07:18:39AM -0800, Penguin Lover Mark Knecht squawked:
> > Hi,
> >    I'm in Gnome and received what appear to be some JPG files from a
> > friend. When I try to open them I get the following message:
> >
> >
> > The filename "DSCN2448.JPG" indicates that this file is of type "JPEG
> > image". The contents of the file indicate that the file is of type
> > "Macintosh BinHex-encoded file". If you open this file, the file might
> > present a security risk to your system.
> >
> > Do not open the file unless you created the file yourself, or received
> > the file from a trusted source. To open the file, rename the file to
> > the correct extension for "Macintosh BinHex-encoded file", then open
> > the file normally. Alternatively, use the Open With menu to choose a
> > specific application for the file.
> >
>
> I think that is just the standard error Gnome throws up with the
> extension on the file does not match the header.
>
> Does your friend perhaps use a Mac? the BinHex format is a conversion
> from binary data to ASCII for mail. It's like uuencode, but for Macs.
>
> Try:
>   emerge macutil
>
> You probably want to run hexbin on the file you received, but I am not
> absolutely sure.
>
> HTH
>
> W
> --
> "As he came into the light they could see his black and
> gold uniform on which the buttons were so highly polished
> that they shone with an intensity that would have made an
> approaching motorist flash his lights in annoyance. "
> Sortir en Pantoufles: up 54 days,  9:51
> --
> gentoo-user@gentoo.org mailing list
>
>

Thanks for the reposnses guys! GMail does do a virus check and doesn't
see anything so probably it isn't that problem. Also I fired up my Mac
Mini as well as my last Win XP machine. Neither of them can display
the files so most likely they are hosed somehow.

I emerged macutil and see these executables get installed:

>>> /usr/bin/binhex
>>> /usr/bin/macstream
>>> /usr/bin/frommac
>>> /usr/bin/macsave
>>> /usr/bin/hexbin
>>> /usr/bin/tomac
>>> /usr/bin/macunpack

binhex tells me it's not a Mac binary. frommac just hangs and I have to kill it.

hexedit show this in the header:
00000000   28 54 68 69  73 20 66 69  6C 65 20 6D  75 73 74 20  (This file must
00000010   62 65 20 63  6F 6E 76 65  72 74 65 64  20 77 69 74  be converted wit
00000020   68 20 42 69  6E 48 65 78  20 34 2E 30  29 0A 3A 24  h BinHex 4.0).:$
00000030   4E 34 36 33  64 69 62 30  24 33 69 2C  4E 54 33 34  N463dib0$3i,NT34
00000040   62 21 65 21  25 54 33 34  38 47 5B 43  66 61 50 21  b!e!%T348G[CfaP!
00000050   2A 21 24 23  50 59 5B 21  21 21 22 28  55 5B 35 72  *!$#PY[!!!"(U[5r
00000060   70 4D 72 69  33 40 31 34  41 4B 54 43  4A 21 0A 21  pMri3@14AKTCJ!.!
00000070   35 38 4E 55  21 21 4A 21  4E 21 2D 2C  21 21 69 22  58NU!!J!N!-,!!i"

It seems that the macutil app binhex would have been a reasonable
choice but it doesn't seem to work.

Any more ideas?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2006-01-05 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 15:18 [gentoo-user] JPG attachments - Macintosh BinHex-encoded file Mark Knecht
2006-01-05 17:29 ` [gentoo-user] " Peper
2006-01-05 17:38 ` [gentoo-user] " Willie Wong
2006-01-05 19:26   ` Mark Knecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b0601051126v10482e9n4e865259b994eccf@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox