diff options
author | Russ Allbery <rra@stanford.edu> | 2011-06-30 10:49:42 -0700 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2011-06-30 11:00:07 -0700 |
commit | 5b9d61b3bf55f45a0d699a1a2e449cdacd5c54b6 (patch) | |
tree | 1ff414790bb1cfb5b4d33496f302627c6fdc1459 /.gitignore | |
parent | 1c59d43b7fe84464c8d0e7f43553d388faf7bb07 (diff) |
Add function to generate a WebAuth keyring from one key
Several places in the mod_webauth code we want to encode or decode
a token from a specific key. Rather than add additional entry points
for the token encoding and decoding functions that take keys, provide
a function to convert a key into a keyring.
This function uses pool-allocated memory, which means one has to be
very careful with the resulting keyring and not call existing keyring
functions on it that may resize it, since that will fail horribly.
Eventually, all key management functions will be converted to use APR.
Change-Id: I7ef9eb58edffb4033948a884fa66236538b8b11f
Reviewed-on: https://gerrit.stanford.edu/68
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ /tests/lib/base64-t /tests/lib/hex-t /tests/lib/key-t +/tests/lib/keys-t /tests/lib/krb5-t /tests/lib/krb5-tgt-t /tests/lib/random-t |