<reynir>
Okay, I see. I thought it was handled automagically.
<hannes>
I guess this could be better documented indeed. I also wonder how to improve this -- since you may use mirage-crypto-rng directly (or via mirage-crypto-pk) without using a Random device in your unikernel (this sounds like your ssh-agent) -- maybe mirage should look for mirage-crypto-rng/mirage-crypto-pk uses as it did earlier for nocrypto? another solution would be to make this more explicit - but this
<hannes>
would be rather cumbersome for the non-mirage users (+ mirage users)
<hannes>
I'll try to think about this issue in the future, right now I think the behaviour is fine-ish (plus it fails hard, which is preferable over soft failurss)
<chou>
perhaps just have the error point a dev in the right direction?
<hannes>
usually, as soon as you use tcp/ip you'll get the random device dependency -> a seeded RNG (not for the unix socket stack though)
Haudegen has quit [Read error: Connection reset by peer]
Haudegen has joined #mirage
mahtob has joined #mirage
mahmudov has quit [Ping timeout: 264 seconds]
ehmry has quit [Remote host closed the connection]
ehmry has joined #mirage
mahtob has quit [Remote host closed the connection]
mahmudov has joined #mirage
Hrundi_V_Bakshi has joined #mirage
mahmudov has quit [Ping timeout: 250 seconds]
mahmudov has joined #mirage
vesper11 has quit [Ping timeout: 250 seconds]
vesper11 has joined #mirage
jnavila_ has quit [Ping timeout: 256 seconds]
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #mirage
<chou>
reynir: hm. fresh build against master. ssh-add fails in a weird way now. Could not add identity "/home/user/.ssh/id_rsa": communication with agent failed
<chou>
reynir: ssh-add -l works, so basic setup seems fine.
<chou>
reynir: it "feels" like the connection is closed while i type my passphrase, but agent is not logging that. :/
<chou>
reynir: if i create a key without passphrase, adding works.
<chou>
reynir: and i amvery sure i am not running into a client-side timeout for the socket, it seems to be rotting agent-side.
<chou>
oh, interesting. it may not be an issue with timing, but it seems to not like that particular key, even if i remove its passphrase.
<chou>
doesnt seem to be key length, a newly generated key of the same size works too.
<chou>
running low on ideas now.
<chou>
reynir: strace on the ssh-add says it writes the size + the key, but the read for the size of the response (?) returns empty.