keys generated on one architecture for another?

Yan Seiner yan at seiner.com
Sat Aug 12 01:27:15 WST 2006


I have dropbear compiled for arm.  I've run it before with no problems, 
but now I am running into an issue...

In the test system I built a native dropbearkeys and built the keys on 
the arm board.

In the production system I was hoping to pre-build the keys on the x86 
build host; when I do that I get:

/ # /bin/dropbear -F -v
TRACE: enter loadhostkeys
[1154] Jan 01 00:30:22 premature exit: bad buf_incrwritepos: BUF_MAX_INCR
TRACE: enter session_cleanup
TRACE: leave session_cleanup: !sessinitdone

I've modified the source to tell me which if condition is failing.... 
And it is the max increment, which is defined to be a very large number....

So are the keys architecture specific?  Am I running into some integer 
length or *-endian issues here?

Can you pre-build keys on an x86 for arm?

Thanks

--Yan



More information about the Dropbear mailing list