-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for SHA1, SHA256 and SHA3-256 CHAP #304
Comments
CHAP with MD5 currently uses the in-tree lib/md5.c library. For the new algorithms I think it'd make sense to pull in openssl (like libsmb2). Should we keep the in-tree md5 lib around and conditionally add support for the new algorithms only if openssl is present? |
Hmm, actually I see that an optional libgcrypt dependency is already there, with fallback to bundled md5. |
On Wed, Nov 6, 2019 at 9:10 PM David Disseldorp ***@***.***> wrote:
CHAP with MD5 currently uses the in-tree lib/md5.c library. For the new
algorithms I think it'd make sense to pull in openssl (like libsmb2).
Should we keep the in-tree md5 lib around and conditionally add support for
the new algorithms only if openssl is present?
It'd obviously be much simpler if we just make openssl a hard dependency
and drop bundled md5 support.
I don't think openssl is compatible with lgplv2.1
We have licence compatible versions of sha1 and sha256 in libsmb2 so we can
borrow that code.
… —
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#304?email_source=notifications&email_token=AADY3EB76JO5S4FNDETN5BLQSKQZ7A5CNFSM4JJSDV32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGFTLY#issuecomment-550263215>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADY3EC3UNK6PXNNMNHMWJLQSKQZ7ANCNFSM4JJSDV3Q>
.
|
Upstream open-iscsi (open-iscsi/open-iscsi#170) and LIO (queued at https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=5.5/scsi-queue&id=a572d24af4d16e70743feb0b4decb17aaae7ce43) now have support for SHA1, SHA256 and SHA3-256 CHAP authentication.
The new algorithm identifiers have been officially assigned via https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xml#ppp-numbers-9 . It'd be great if libiscsi picked up support for these too.
The text was updated successfully, but these errors were encountered: