Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224407 - dev-libs/openssl-0.9.8g-r2 breaks ssh keys
Summary: dev-libs/openssl-0.9.8g-r2 breaks ssh keys
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-31 21:58 UTC by Caleb Cushing
Modified: 2008-06-02 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.52 KB, text/plain)
2008-05-31 21:59 UTC, Caleb Cushing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Cushing 2008-05-31 21:58:34 UTC
I'm not actually sure what's happening. I updated openssl and now I can't push to github.

this is the error.

buffer_get_ret: trying to get more bytes 4 than in buffer 0
buffer_get_int: buffer error
fatal: The remote end hung up unexpectedly

I've tried rebuilding git and openssh with no luck. I tried reading the ssh key with open ssl and it generates a read error.

openssl rsa -noout -check -in .ssh/id_rsa
Enter pass phrase for .ssh/id_rsa:
unable to load Private Key
623:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp             _enc.c:461:
623:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:425:

the key worked fine a couple of days ago. I tried generating a new key and that also failed.

Reproducible: Always
Comment 1 Caleb Cushing 2008-05-31 21:59:50 UTC
Created attachment 155015 [details]
emerge --info
Comment 2 Caleb Cushing 2008-05-31 22:05:25 UTC
additional note. revdep-rebuild finds no inconsistencies.
Comment 3 Caleb Cushing 2008-05-31 22:14:49 UTC
> the key worked fine a couple of days ago. I tried generating a new key and that
> also failed.

I just realized this need clarification. I was able to generate a new key, however the problem is still present on the new key.
Comment 4 Caleb Cushing 2008-05-31 23:27:06 UTC
this doesn't affect my root user.
Comment 5 SpanKY gentoo-dev 2008-06-01 21:53:18 UTC
can you verify that downgrading to 0.9.8g-r1 fixes things ?
Comment 6 Caleb Cushing 2008-06-02 17:39:40 UTC
the openssl upgrade was a coincidense, I just so happened to notice the problem after the upgrade, which led me to assume it was related. I think the problem was in one of my .ssh file. I believe deleting .ssh resolved it. either that or it was related to ssh-agent. my apologies.