Re: [Keyrings] Re: [PATCH 01/04] Add multi-precision-integer mathslibrary

From: Trond Myklebust
Date: Fri Jan 27 2006 - 17:20:05 EST


On Fri, 2006-01-27 at 21:41 +0100, David HÃrdeman wrote:

> For example, a backup daemon which wishes to store the backup on another
> host using ssh. Usually this is solved by storing an unencrypted key in
> the fs or by providing a connection to a ssh-agent which has been
> preloaded with the proper key(s). Both are quite inelegant solutions.
> With the in-kernel support, the daemon can request the key using the
> request_key call, and (provided proper scripts are written), the user
> who controls the relevant key can supply it. This in turn means that the
> backup daemon can sign using the key and read its public parts but not
> the private key.

...but why would you want such a daemon to live in the kernel in the
first place? A backup application might perhaps need some kernel support
in order to ensure filesystem consistency, but that does not mean that
moving the entire daemon into the kernel is a good idea.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/