How to Upload a .zip to Firebase Storage

Many developers would like to interact with Firebase from programming languages or operating systems that are not directly supported by Google. For example, looking at the documentation here: https://firebase.google.com/docs/storage, we can see how to interact with Firebase storage from iOS+, Android, C++, etc. using Google’s SDK. Unless we know the actual raw HTTP requests and responses, we can’t implement from […]

Smart Card Vendors: Please document ATR’s and Driver DLLs

Chilkat auto-recognizes HSM’s (smart cards and USB tokens) by the ATR. A Smart Card Answer to Reset (ATR) is a special sequence of bytes sent by a smart card when it is powered on or reset. It serves as the initial communication between the card and the card reader or terminal. The ATR contains information about the card’s characteristics, including […]

SSH authentication using X.509 certificates

Question: I am unable to determine from the documentation if the Chilkat library supports SSH authentication using X.509 certificates.   In our application, we need to establish secure SSH connections to remote servers, and we prefer to use X.509 certificates for authentication instead of traditional username/password or key-based authentication methods. Could you please clarify if the Chilkat SSH/SFTP API’s support X.509 […]

Chilkat Updated to Support AKiS Smart Cards

AKiS is a smart card operating system which can be used in personal identification, digital sign, health care system, smart logon, secure email, etc. It is developed within The National Research Institute Of Electronics And Cryptology (UEKAE), a subsidiary of The Scientific & Technological Research Council of Turkey (TUBITAK). There was a problem relating to e-signature tokens using AKIS cards. […]

Malaysia EInvoice

Questions: We are struggling to fulfill the EInvoice implementation mandate from Malaysian government, which is on 1st August 2024 (3 months from now). We wish to implement a direct integration from the company system to the government system through API (EInvoice submission and retrieval). After studying the guidance from the government on Digital Signature at … https://sdk.myinvois.hasil.gov.my/signature/ https://sdk.myinvois.hasil.gov.my/signature-creation/ https://sdk.myinvois.hasil.gov.my/files/one-doc-signed.xml Our […]

Office365 SMTP AUTH XOAUTH2 Fails with “535 5.7.3 Authentication unsuccessful”

If you successfully minted an OAuth2 access token for your Azure Entra Id App, but then it fails when attempting to use it in the SMTP protocol for sending email with the error: AUTH XOAUTH2 user=xxx auth=Bearer ********************** 535 5.7.3 Authentication unsuccessful [BN9PXXXA0336.namprd03.prod.outlook.com 2024-04-16T12:11:26.548Z 08DC9999186DF999] Check your Entra Id App Registration to make sure you have the following App Permissions:

How to Troubleshoot Office365 IMAP AUTHENTICATE XOAUTH2 Failed

Question: We have an issue reading mail and we see the below error message in log Login: DllDate: Oct 27 2023 ChilkatVersion: 9.5.0.96 UnlockPrefix: *** UnlockStatus: 2 Architecture: Little Endian; 32-bit Language: *** VerboseLogging: 0 imapServer: outlook.office365.com loginX(2219ms): login: abc@example.com greeting: * OK The Microsoft Exchange IMAP4 service is ready. [***] authenticateXOAuth2(2219ms): xoauth2Imap(2219ms): ConnectionType: SSL/TLS ImapCmdSent: aaab AUTHENTICATE XOAUTH2 ImapCmdResp: […]

Chilkat v9.5.0.98 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-97-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-99-release-notes/ Chilkat v9.5.0.98 Release Notes General: Removed all internal usage of the R250 random number generation algorithm and replaced with the more cryptographically secure Fortuna algorithm. DNS: Fixed various DNS problems having to do with VPNs or other uncommon situations. Ftp2: Fixed situation where CreateRemoteDir is called, but the remote directory already exists. In this […]

Capturing HTTP Cookies in a POST Response and Sending in Subsequent HTTP POST’s

Question: A particular REST/Web API returns a cookie. I need to capture this cookie and use it when sending subsequent POSTs. For example, this is the CURL statement to login and save the response cookie(s) to a file. curl -c cookies.txt -H “Content-Type: application/json” -X POST -d ‘{“username”:”user”,”password”:”pass”}’ http://192.168.1.1/api/login Then I need to use the cookie when sending an SMS […]

Solving the CommonJS (Common JavaScript) and ECMAScript Modules (ESM) Problem

The following is a solution graciously provided by a Chilkat user trying to convert a node16 application using Common JS (require) to node20 using ESM (import). CommonJS (Common JavaScript) and ECMAScript Modules (ESM) are two different module systems used in JavaScript environments. CommonJS is the module system used in Node.js and is characterized by `require()` and `module.exports` syntax, while ECMAScript […]