9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Another stupid problem
@ 2005-12-12  7:38 Lucio De Re
  2005-12-12 12:16 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Lucio De Re @ 2005-12-12  7:38 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

Maybe I'll understand all these things eventually.  In the meantime,
in the attached picture, why does factotum report no key?

And why does IMAPD request a "client" key?  Is it the "public" key for
the incoming request that is being requested here?

++L

[-- Attachment #2: question.gif --]
[-- Type: image/gif, Size: 15222 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Another stupid problem
  2005-12-12  7:38 [9fans] Another stupid problem Lucio De Re
@ 2005-12-12 12:16 ` Russ Cox
  2005-12-12 12:29   ` Charles Forsyth
  2005-12-12 12:32   ` Lucio De Re
  0 siblings, 2 replies; 4+ messages in thread
From: Russ Cox @ 2005-12-12 12:16 UTC (permalink / raw)
  To: Lucio De Re, Fans of the OS Plan 9 from Bell Labs

> Maybe I'll understand all these things eventually.  In the meantime,
> in the attached picture, why does factotum report no key?

The rsa protocol loops through the keys available,
presenting them to the program talking to factotum.
When the program finds a key it wants to use,
it continues.  Otherwise factotum runs out of keys
and it gives up.  That's what happened here.  You have
some rsa keys in your factotum, but not the one
corresponding to the X.509 certificate you have told
imapd to use.

> And why does IMAPD request a "client" key?  Is it the "public" key for
> the incoming request that is being requested here?

In the "rsa" protocol implementation, like most of the
protocols, it is the client side that holds the secret.
TLS is odd in that the server is authenticating to the
client but the client rarely authenticates to the server.
So the TLS server uses the rsa client protocol and vice
versa.

Russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Another stupid problem
  2005-12-12 12:16 ` Russ Cox
@ 2005-12-12 12:29   ` Charles Forsyth
  2005-12-12 12:32   ` Lucio De Re
  1 sibling, 0 replies; 4+ messages in thread
From: Charles Forsyth @ 2005-12-12 12:29 UTC (permalink / raw)
  To: 9fans

> TLS is odd

first understatement of the day!



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Another stupid problem
  2005-12-12 12:16 ` Russ Cox
  2005-12-12 12:29   ` Charles Forsyth
@ 2005-12-12 12:32   ` Lucio De Re
  1 sibling, 0 replies; 4+ messages in thread
From: Lucio De Re @ 2005-12-12 12:32 UTC (permalink / raw)
  To: 9fans

>> Maybe I'll understand all these things eventually.  In the meantime,
>> in the attached picture, why does factotum report no key?
> 
> The rsa protocol loops through the keys available,
> presenting them to the program talking to factotum.

Thank you, this type of explanation is not exactly readily available.
I guess it's my turn to add something to the wiki once I've figured
out the remaining details.

++L



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-12 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12  7:38 [9fans] Another stupid problem Lucio De Re
2005-12-12 12:16 ` Russ Cox
2005-12-12 12:29   ` Charles Forsyth
2005-12-12 12:32   ` Lucio De Re

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).