Download Users` Guide to NetSolve V2.0 - Innovative Computing Laboratory

Transcript
Chapter 15. Running the NetSolve Server
gpg will then prompt you for the name and size of the key to use(see above). We recommend RSA,
sign-only keys. A key size of 1024 should be sufficient for most purposes but you may make it larger if
necessary. (If you make it larger, signing and verifying will be slower).
To avoid conflicts, the name of the key should be an email address that you control. It’s also occasionally
handy if the person who runs the server can be reached by sending email to the address. However it
might also be desirable for that address to NOT be the normal address of the user who runs the NetSolve
hardware server. For example, it might be useful to set up an alias named ns-hw-server@mydomain.org
that gets forwarded to joe.sysadmin@mydomain.org.
3. Decide how much to trust the netsolve-master key
If you want your hardware server to be able to accept code signed by other netsolve developers that we
(the primary developers) trust, you will need to change the parameters to trust the netsolve-master key.
(By default this key was trusted but that’s because it was signed by the netsolve-hardware-server key,
which you have deleted. Having created your own key, you now need to re-establish trust from that key
in the netsolve-master key.)
If you want to trust the netsolve-master key you must do two things:
•
sign the key
•
change the trust parameters in the key to indicate that it is trusted
If you do not want to trust it, you should not sign the key. But you should change the parameters anyway
(to indicate that you don’t trust it) just to be sure. To sign the key, do:
UNIX>gpg --sign-key netsolve-master
it will prompt you for the duration of your signature and your passphrase.
To change the trust parameters, do:
UNIX>gpg --edit-key netsolve-master
At the prompt, type "trust" gpg will then display something like this:
----------------------------------------------------------------------pub 2048R/AABD3F7C created: 2003-07-12 expires: never
trust: f/f
(1). NetSolve Master Key <netsolve-master@netlib.org>
-----------------------------------------------------------------------
The end of the first line shows the current trust parameters:
pub
trust: f/f
^
|
this says how much you trust this key ------------------------------+
q
n
m
f
2048R/AABD3F7C
means
means
means
means
means
created: 2003-07-12 expires: never
never set
don’t know
do NOT trust
trust marginally
trust fully
77