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 […]

GMail Mailboxes vs Labels

GMail technically doesn’t use mailboxes or folders. Instead it uses “labels”. Labels appear as folders (i.e. mailboxes) in email clients such as Outlook or Thunderbird, or as mailboxes in the IMAP protocol. See https://hiverhq.com/blog/labels-vs-folders-guide I recommend  comparing how your GMail looks in Outlook (or Thunderbird) vs the web browser at Gmail.com. Notice how an email can be given multiple labels, […]

Chilkat v9.5.0.97 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-96-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-98-release-notes/ Chilkat v9.5.0.97 Release Notes SSH/SFTP/SshTunnel: Mitigated vulnerability to the Terrapin attack. See Chilkat v9.5.0.97 Mitigates Terrapin Attack Vulnerability CodeSign: Added the Chilkat.CodeSign class. This provides the ability (on Windows) to Authenticode sign DLLs and EXEs. It also provides the ability to validate Authenticode signed EXEs and DLLs, and to remove a signature. PDF: Added […]

Chilkat v9.5.0.97 Mitigates Vulnerability to the SSH Terrapin Attack

Chilkat v9.5.0.97 makes changes to mitigate the Terrapin attack problem. It does so by modifying the selection of the default algorithms in the following ways: chacha20-poly1305@openssh.com is no longer included by default. It can be re-added by specifying “+chacha20-poly1305@openssh.com” in the UncommonOptions property. We are going to keep the “-cbc” encryption modes because potentially too many servers would be affected […]

Solved: Perl undefined symbol: PL_stack_base at … DynaLoader.pm

Solution for Perl undefined symbol: PL_stack_base This problem was reported when trying to use Chilkat for the first time on a RHEL8 machine using chilkat-9.5.0-perl-5.26-x86_64-linux. Here’s the environment: # lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterprise Description: Red Hat Enterprise Linux release 8.9 (Ootpa) Release: 8.9 Codename: Ootpa # perl -v This is perl 5, version 26, subversion 3 […]

Solved: Mail Server Error “message body contains illegal bare CR LF characters”

A Chilkat user reported suddenly getting an error message from two receiving mail servers when sending mail generated by Chilkat. The message is:   message body contains illegal bare CR LF characters  Solution:  The cause has been found. The affected users are using AVG or Avast Antivirus and there is an optional signature text added after the outgoing email scan. If […]