Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

'xyt.jpg' is not a JPEG file

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


alex at gpgtools

Dec 15, 2011, 8:46 AM

Post #1 of 4 (230 views)
Permalink
'xyt.jpg' is not a JPEG file

Dear all,

I think one of our users found a bug in GnuPG:

Description: 'xyt.jpg' is not a JPEG file
Version: 2.0.17
URL: http://support.gpgtools.org/discussions/everything/174

Steps that will reproduce the problem?
1. curl -LOs http://support.gpgtools.org/discussions/everything/174/assets/8ba23b7439a1ddd2b81d87daadf16b8c810dd7f4/essai.jpg
2. gpg2 --edit-key 123456789ABCDEF
3. addphoto essai.jpg

What is the expected result?
Added photo.

What happens instead?
Error message "gpg: `essai.jpg' is not a JPEG file"

Possible workaround:
Convert the file.

Any additional information:
* Seems to be a valid jpeg file
* Here is the output

----------------------------------------------------
$ curl -LOs http://support.gpgtools.org/discussions/everything/174/assets/8ba23b7439a1ddd2b81d87daadf16b8c810dd7f4/essai.jpg
$ gpg2 --edit-key 0DB03A7D
gpg (GnuPG/MacGPG2) 2.0.17; Copyright (C) 2011 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub 2048R/0DB03A7D created: 2011-08-11 expires: never usage: SCEA
trust: ultimate validity: ultimate
sub 2048R/0AA3DA82 created: 2011-08-11 expires: never usage: SEA
[ultimate] (1). GPGTools Test Key (For testing purposes only!) <test [at] gpgtools>

gpg> addphoto

Pick an image to use for your photo ID. The image must be a JPEG file.
Remember that the image is stored within your public key. If you use a
very large picture, your key will become very large as well!
Keeping the image close to 240x288 is a good size to use.

Enter JPEG filename for photo ID: essai.jpg
This JPEG is really large (13750 bytes) !
Are you sure you want to use it? (y/N) y
gpg: `essai.jpg' is not a JPEG file

Enter JPEG filename for photo ID:
----------------------------------------------------

Best regards, Alex

--
http://gpgtools.org
http://gpgtools.org/about (Google+, Twitter, RSS)


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


dshaw at jabberwocky

Dec 15, 2011, 9:52 AM

Post #2 of 4 (218 views)
Permalink
Re: 'xyt.jpg' is not a JPEG file [In reply to]

On Dec 15, 2011, at 11:46 AM, Alex (via GPGTools) wrote:

> Dear all,
>
> I think one of our users found a bug in GnuPG:
>
> Description: 'xyt.jpg' is not a JPEG file
> Version: 2.0.17
> URL: http://support.gpgtools.org/discussions/everything/174
>
> Steps that will reproduce the problem?
> 1. curl -LOs http://support.gpgtools.org/discussions/everything/174/assets/8ba23b7439a1ddd2b81d87daadf16b8c810dd7f4/essai.jpg
> 2. gpg2 --edit-key 123456789ABCDEF
> 3. addphoto essai.jpg

This is issue 1331 on the tracker. I could have sworn I fixed it.

Ah, looks like it was fixed on 1.4, but not 2.0. I'm currently setting up a new work box (going to try to use hg-git), and I'll add it to my stuff to do.

David


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


dshaw at jabberwocky

Dec 15, 2011, 2:23 PM

Post #3 of 4 (219 views)
Permalink
Re: 'xyt.jpg' is not a JPEG file [In reply to]

On Dec 15, 2011, at 12:52 PM, David Shaw wrote:

> On Dec 15, 2011, at 11:46 AM, Alex (via GPGTools) wrote:
>
>> Dear all,
>>
>> I think one of our users found a bug in GnuPG:
>>
>> Description: 'xyt.jpg' is not a JPEG file
>> Version: 2.0.17
>> URL: http://support.gpgtools.org/discussions/everything/174
>>
>> Steps that will reproduce the problem?
>> 1. curl -LOs http://support.gpgtools.org/discussions/everything/174/assets/8ba23b7439a1ddd2b81d87daadf16b8c810dd7f4/essai.jpg
>> 2. gpg2 --edit-key 123456789ABCDEF
>> 3. addphoto essai.jpg
>
> This is issue 1331 on the tracker. I could have sworn I fixed it.
>
> Ah, looks like it was fixed on 1.4, but not 2.0. I'm currently setting up a new work box (going to try to use hg-git), and I'll add it to my stuff to do.

This is fixed now. Alas, hg-git didn't really work.

David


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


alex at gpgtools

Dec 17, 2011, 6:43 AM

Post #4 of 4 (212 views)
Permalink
Re: 'xyt.jpg' is not a JPEG file [In reply to]

Thanks!

On 15.12.2011, at 23:23, David Shaw wrote:

> On Dec 15, 2011, at 12:52 PM, David Shaw wrote:
>
>> On Dec 15, 2011, at 11:46 AM, Alex (via GPGTools) wrote:
>>
>>> Dear all,
>>>
>>> I think one of our users found a bug in GnuPG:
>>>
>>> Description: 'xyt.jpg' is not a JPEG file
>>> Version: 2.0.17
>>> URL: http://support.gpgtools.org/discussions/everything/174
>>>
>>> Steps that will reproduce the problem?
>>> 1. curl -LOs http://support.gpgtools.org/discussions/everything/174/assets/8ba23b7439a1ddd2b81d87daadf16b8c810dd7f4/essai.jpg
>>> 2. gpg2 --edit-key 123456789ABCDEF
>>> 3. addphoto essai.jpg
>>
>> This is issue 1331 on the tracker. I could have sworn I fixed it.
>>
>> Ah, looks like it was fixed on 1.4, but not 2.0. I'm currently setting up a new work box (going to try to use hg-git), and I'll add it to my stuff to do.
>
> This is fixed now. Alas, hg-git didn't really work.
>
> David
>


--
http://gpgtools.org
http://gpgtools.org/about (Google+, Twitter, RSS)


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.