Commit b3f8ff55 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.125
Rev: doc/TODO:1.64
Rev: src/queue.c:1.9
Rev: src/queue.h:1.9
Rev: src/server_authorization.h:1.4
Rev: src/sexp.h:1.24
Rev: src/sexp_commands.h:1.4
Rev: src/sexp_streamed_parser.c:1.17
parent 80b2543e
1999-11-28 Niels Mller <nisse@cuckoo.localdomain>
* src/server_authorization.c (do_key_lookup): Some
simplifications. Use make_ssh_dss_verifier().
* src/lshd.c (main): Don't pass any signature algorithm to
make_authorization_db().
* src/lsh.c (client_host_db): Use SPKI ACL:s for authentication.
* src/io.h: Removed forward declaration of lsh_fd.
* src/dsa.c (do_dsa_sign_spki): New function.
(do_dsa_verify_spki): New function.
(make_dsa_signer): Use s-expressions for keys.
(make_dsa_verifier): Use s-expressions for keys.
(make_ssh_dss_verifier): New function.
(ssh_dss_public_key): New function.
* src/connection.h: Removed forward declaration of ssh_connection;
it's now in the lsh.h.
* src/bignum.c, src/bignum.h: Fewer includes in the header file.
* src/atoms.in: Added r and s (for spki-style dsa signatures).
* src/atoms.c: Use const tables.
* src/abstract_crypto.h (signer, verifier, signature_algorithm):
Use s-expressions for keys and signatures.
* src/abstract_crypto.c (hash_string): New function.
* src/publickey_crypto.h: Include fewer files.
1999-11-25 Niels Mller <nisse@cuckoo.localdomain>
* src/spki.h (spki_context): Added verifier argument to
......
......@@ -286,3 +286,6 @@ file.
Consider moving SPKI tuple-related functions to a separate file.
With SPKI, consider whether or not we should require any specific
order of subexpressions. The most central function for this is
sexp_get_un.
......@@ -25,6 +25,7 @@
#include "queue.h"
#include "list.h"
#include "werror.h"
#include "xalloc.h"
......
......@@ -28,7 +28,6 @@
#include "lsh.h"
/* Layout taken from AmigaOS lists... The first node uses a prev
* pointer that points to the queue's HEAD. The last node uses a next
* pointer that points to the queue's TAIL field. The TAIL field is
......
......@@ -31,7 +31,7 @@
struct lookup_verifier *
make_authorization_db(struct lsh_string *index_name,
struct signature_algorithm *s,
/* struct signature_algorithm *s, */
struct hash_algorithm *h);
#endif /* LSH_SERVER_AUTHORIZATION_H_INCLUDED */
......@@ -34,8 +34,6 @@
#include "sexp_table.h"
/* Forward declaration */
struct sexp_iterator;
#define GABA_DECLARE
#include "sexp.h.x"
......@@ -113,6 +111,7 @@ struct lsh_string *encode_base64(struct lsh_string *s,
/* Creating sexps */
/* FIXME: Rename this to sexp_s(d, c)? */
/* Consumes its args (display may be NULL) */
struct sexp *make_sexp_string(struct lsh_string *d, struct lsh_string *c);
......
......@@ -26,6 +26,7 @@
#ifndef SEXP_COMMANDS_H_INCLUDED
#define SEXP_COMMANDS_H_INCLUDED
#include "abstract_crypto.h"
#include "abstract_io.h"
#include "command.h"
#include "sexp.h"
......
......@@ -892,7 +892,7 @@ MAKE_PARSE_VALUE(advanced_sexp)
return i + 1;
case ';': /* Comment */
*s = make_parse_comment(self->super.e, &self->super);
*s = make_parse_comment(self->super.e, &self->super.super);
return i+1;
default:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment