From ca75c4407d72d1e4fbf73fd017937d4b378190f2 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Tue, 21 Sep 2021 14:32:11 +0200 Subject: [PATCH] adapt VBB profile to server changes --- p/vbb/base.json | 9 ++++----- p/vbb/index.js | 4 ---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/p/vbb/base.json b/p/vbb/base.json index f78c57e3..2edca3f0 100644 --- a/p/vbb/base.json +++ b/p/vbb/base.json @@ -1,16 +1,15 @@ { "auth": { "type": "AID", - "aid": "hafas-vbb-apps" + "aid": "hafas-vbb-webapp" }, "client": { - "type": "IPA", + "type": "WEB", "id": "VBB", - "v": "4010300", - "name": "vbbPROD" + "name": "VBB WebApp", + "l": "vs_webapp_vbb" }, "endpoint": "https://fahrinfo.vbb.de/bin/mgate.exe", - "ext": "VBB.1", "ver": "1.45", "defaultLanguage": "de" } diff --git a/p/vbb/index.js b/p/vbb/index.js index f13326c4..bacf8a3b 100644 --- a/p/vbb/index.js +++ b/p/vbb/index.js @@ -93,10 +93,6 @@ const vbbProfile = { ...baseProfile, locale: 'de-DE', timezone: 'Europe/Berlin', - // https://gist.github.com/derhuerst/a8d94a433358abc015ff77df4481070c#file-haf_config_base-properties-L39 - // https://runkit.com/derhuerst/hafas-decrypt-encrypted-mac-salt - salt: Buffer.from('RCTJM2fFxFfxxQfI', 'utf8'), - addMicMac: true, products: products,