-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
[New App]: BankID #603
Comments
I'm getting hit with a Captcha response when querying the XML. Highly likely to be because I'm outside Sweden, so creating a function for this could be challenging |
Hi Aaron, wouldn't that be strange? Swedish citizens should be able to run the version check even when they are abroad. |
Got this working with: $params = @{
Uri = "https://vks.bankid.com"
UserAgent = "BankIDSecurityProgram"
ContentType = "application/xml; charset=utf-8"
Body = '<?xml version="1.0" encoding="utf-8"?><autoUpdateRequest><requestVersion>1.1</requestVersion><requestSequenceNr>1</requestSequenceNr><uhi>g+o9gYX4DcDZkQexT49puYWbWpO4</uhi><version>7.14.102.4</version></autoUpdateRequest>'
#Headers = @{ "Accept-Language" = "sv-se" }
#TransferEncoding = "gzip"
Method = "POST"
UseBasicParsing = $true
Verbose = $true
}
iwr @params which returns: <?xml version="1.0" encoding="UTF-8"?>
<autoUpdateResponse><responseVersion>1.2</responseVersion><responseSequence>1</responseSequence><nonce>ZGZmMDU2NzMtNzFlYS00YzNkLTg=</nonce><action></action></autoUpdateResponse> |
However, there's not much I can do with the response to turn it into an evergreen download URL. If we were to post the request with version |
Hi!
Great that you got the version info working.
Regarding the download URL, the following info comes from: https://www.bankid.com/en/foretag/enterprise/install-package
The .exe file (which is auto-updating) is always downloaded from: https://install.bankid.com/api/file-download/Win
The file is downloaded via a redirect and is called BankID_installation_x_y_z.exe (x_y_z is replaced with the current version).
The MSI file, resided in a zip file, is downloaded here: https://cdn.bankid.com/bisp/win/BankID_installation_x_y_z.zip (x_y_z is replaced with the current version).
With this info, it should be possible to generate the download links, or am I wrong?
Best regards,
Jasper
…________________________________
Från: Aaron Parker ***@***.***>
Skickat: den 27 mars 2024 13:25
Till: aaronparker/evergreen ***@***.***>
Kopia: Jasper Metselaar (HDa) ***@***.***>; Author ***@***.***>
Ämne: Re: [aaronparker/evergreen] [New App]: BankID (Issue #603)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
However, there's not much I can do with the response to turn it into an evergreen download URL. If we were to post the request with version 7.14.102.4 and get back 7.15.102.0, for example, that could be turned into a URL.
—
Reply to this email directly, view it on GitHub<#603 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATR33FILK7XUO7MASSKSBWLY2K3DTAVCNFSM6AAAAABAWNO6AOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRSGY2DAOBTG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The XML in the response data doesn't provide any version data that relates to the download URLs, e.g. |
What is the new application?
BankID is Sweden's most common e-ID.
Version control is done using XML against vks.bankid.com (https://www.bankid.com/en/foretag/enterprise/automatic-version-control)
User-agent needs to be: BankIDSecurityProgram
Installer URL can be found here: https://www.bankid.com/en/foretag/enterprise
Example request:
Example response:
I am not sure if the BankID application generates some unique content in the request that is being verified by the version controll server. If that's the case it will probably be difficult to get the latest version.
But I hope this can be done anyway.
Vendor site
https://www.bankid.com
Does the vendor require a sign-in to download the app?
No
Does the application include an updater?
Yes
Have you reviewed the list of supported applications?
The text was updated successfully, but these errors were encountered: