chore: dependency updates, some cleanups and doc fixes
This commit is contained in:
@@ -3,16 +3,10 @@
|
||||
/* eslint-disable no-bitwise */
|
||||
import { RadiusPacket } from 'radius';
|
||||
import debug from 'debug';
|
||||
import { ResponseAuthHandler } from '../../../../types/Handler';
|
||||
import { IPacketHandlerResult } from '../../../../types/PacketHandler';
|
||||
import { IEAPMethod } from '../../../../types/EAPMethod';
|
||||
import { IAuthentication } from '../../../../types/Authentication';
|
||||
|
||||
interface IEAPResponseHandlers {
|
||||
response: (respData?: Buffer, msgType?: number) => void;
|
||||
checkAuth: ResponseAuthHandler;
|
||||
}
|
||||
|
||||
export class EAPMD5 implements IEAPMethod {
|
||||
getEAPType(): number {
|
||||
return 4;
|
||||
@@ -33,6 +27,8 @@ export class EAPMD5 implements IEAPMethod {
|
||||
): Promise<IPacketHandlerResult> {
|
||||
// not implemented
|
||||
|
||||
debug('eap md5 not implemented...');
|
||||
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ import { attr_id_to_name, attr_name_to_id } from 'radius';
|
||||
import debug from 'debug';
|
||||
|
||||
import { encodeTunnelPW, ITLSServer, startTLSServer } from '../../../../tls/crypt';
|
||||
import { ResponseAuthHandler } from '../../../../types/Handler';
|
||||
import {
|
||||
IPacket,
|
||||
IPacketAttributes,
|
||||
@@ -23,11 +22,6 @@ import { secret } from '../../../../../config';
|
||||
|
||||
const log = debug('radius:eap:ttls');
|
||||
|
||||
interface IEAPResponseHandlers {
|
||||
response: (respData?: Buffer, msgType?: number) => void;
|
||||
checkAuth: ResponseAuthHandler;
|
||||
}
|
||||
|
||||
function tlsHasExportKeyingMaterial(
|
||||
tlsSocket
|
||||
): tlsSocket is {
|
||||
|
||||
Reference in New Issue
Block a user