mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
remove raw cert from mail headers
This commit is contained in:
@@ -4,7 +4,6 @@ import { fromBER, Sequence, Integer, OctetString, Set } from 'asn1js'
|
|||||||
import { Certificate } from 'pkijs'
|
import { Certificate } from 'pkijs'
|
||||||
|
|
||||||
export interface CertInfo {
|
export interface CertInfo {
|
||||||
raw: string
|
|
||||||
applicationCerts: Array<string>
|
applicationCerts: Array<string>
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,7 +94,6 @@ export function analyze(req: Request): CertInfo | null {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
raw: nativeCert.raw.toString('base64'),
|
|
||||||
applicationCerts
|
applicationCerts
|
||||||
}
|
}
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user