Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* Implemented dynamic loading of an external plug-in shared library to delegate public key authentication
* Moved conditional compilation of the plugin infrastructure into the configure.ac script to be able to add -ldl to dropbear build only when the flag is enabled
* Added tags file to the ignore list
* Updated API to have the constructor to return function pointers in the pliugin instance. Added support for passing user name to the checkpubkey function. Added options to the session returned by the plugin and have dropbear to parse and process them
* Added -rdynamic to the linker flags when EPKA is enabled
* Changed the API to pass a previously created session to the checkPubKey function (created during preauth)
* Added documentation to the API
* Added parameter addrstring to plugin creation function
* Modified the API to retrieve the auth options. Instead of having them as field of the EPKASession struct, they are stored internally (plugin-dependent) in the plugin/session and retrieved through a pointer to a function (in the session)
* Changed option string to be a simple char * instead of unsigned char *
|
|
|
|
* refactor checkpubkeyperms() with safe BSD functions
fix gcc8 warnings
```
svr-authpubkey.c: In function 'checkpubkeyperms':
svr-authpubkey.c:427:2: warning: 'strncat' specified bound 5 equals source length [-Wstringop-overflow=]
strncat(filename, "/.ssh", 5); /* strlen("/.ssh") == 5 */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svr-authpubkey.c:433:2: warning: 'strncat' specified bound 16 equals source length [-Wstringop-overflow=]
strncat(filename, "/authorized_keys", 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
see https://www.sudo.ws/todd/papers/strlcpy.html
* restore strlcpy in xstrdup
see original https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/xmalloc.c?rev=1.16
|
|
|
|
|
|
|
|
|
|
- fix some unused variables
--HG--
branch : fuzz
|
|
--HG--
branch : fuzz
|
|
|
|
Some linting, const parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(4d7b4c5526c5)
--HG--
branch : nocircbuffer
|
|
command="something" ssh-rsa
--HG--
branch : ecc
|
|
--HG--
branch : ecc
|
|
- rename curves to nistp256 etc
- fix svr-auth.c TRACE problem
--HG--
branch : ecc
|
|
--HG--
branch : ecc
|
|
--HG--
extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
|
|
--HG--
branch : pubkey-options
extra : convert_revision : 537a6ebebb46424b967ffe787f0f8560e5f447e8
|
|
Needs review.
--HG--
branch : pubkey-options
extra : convert_revision : 26872f944d79ddacff1070aab32115a6d726392c
|
|
--HG--
extra : convert_revision : 295b11312e327fe6c4f33512674ea4a1a9790344
|
|
--HG--
extra : convert_revision : b7933fa29cbedeb53b79a0b60aaa0f049e003cb2
|
|
--HG--
extra : convert_revision : 43e1a0c8365776577acd814d708027fcddcb02ef
|
|
--HG--
extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
|
|
connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying
--HG--
extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
|
|
--HG--
extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
|
|
--HG--
extra : convert_revision : 25eab43bd46e931fd4afecec49c22b9311062099
|
|
--HG--
extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
|
|
--HG--
extra : convert_revision : 149ce7a9a9cc5fe670994d6789b40be49895c595
|
|
- Rearranged various bits of the fingerprint/base64 type code, so it
can be shared between versions
--HG--
extra : convert_revision : 6b8ab4ec5a6c99733fff584231b81ad9636ff15e
|
|
--HG--
extra : convert_revision : fcf64cb4d2e273f80bf8c5f1d2dd00a0f4dc1acf
|
|
--HG--
extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627
|
|
--HG--
extra : convert_revision : cc8a8c49dc70e632c352853a39801089b08149be
|