Comments (6)
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
from evergreen.
Hi Aaron, wouldn't that be strange? Swedish citizens should be able to run the version check even when they are abroad.
Did you set the User-Agent to: BankIDSecurityProgram
from evergreen.
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>
from evergreen.
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.
from evergreen.
from evergreen.
The XML in the response data doesn't provide any version data that relates to the download URLs, e.g. https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.exe
, https://cdn.bankid.com/bisp/win/BankID_installation_7_14_2.zip
from evergreen.
Related Issues (20)
- [Bug]: Firefox Error 404 HOT 1
- [Feature]: Microsoft ODBC Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft OLE DB Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft SSMS Additional 'Base Version' attribute HOT 3
- [Bug]: Get-EvergreenApp for AzureCLI does not return 64 bit installer HOT 2
- [Bug]: 7zip not working HOT 7
- [Bug]: GoogleChrome Version in Evergreen is 112 but when you download is it the expected 113 HOT 1
- [Bug]: Can't retrieve a list of Google Chrome Enterprise installs HOT 3
- [Bug]: Google Chrome Returning 410 error HOT 3
- [Bug]: MicrosoftAzureDataStudio - No update feed found for win32-x64 and insider HOT 2
- [Bug]: The Download size for 7zip is incorrect HOT 3
- [Bug]: VLC not currently returning latest version (3.0.21) HOT 3
- [New app]: ControlUp Agent manager HOT 1
- [Bug]: Slack no longer working HOT 1
- [Bug]: Get-EvergreenApp MicrosoftAzureDataStudio is erroring "No update feed found for win32-x64 and Insider." HOT 4
- [New app]: Amazon Corretto 22, 21
- [Bug]: Remove OpenJDK
- [New app]: JGraph DrawIO Desktop HOT 2
- [Bug]: Visual Studio (Community Edition)
- [Feature]: Enforce valid .NET version types in evergreen objects HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.