Chilkat v9.5.0.97 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-96-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 the AddEmbeddedFiles method. […]

Chilkat v9.5.0.96 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-95-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-97-release-notes/ Chilkat v9.5.0.96 Release Notes DNS: Created a new Dns class for managing DNS nameservers to be used by Chilkat, and for doing DNS queries. It is a singleton class that allows an application to select the DNS nameservers used throughout Chilkat. The term “singleton” means that all Chilkat DNS object instances work with a […]

Chilkat v9.5.0.95 Release Notes

Next Version: https://cknotes.com/chilkat-v9-5-0-96-release-notes/ Previous Version: https://cknotes.com/chilkat-v9-5-0-94-release-notes/ Chilkat v9.5.0.95 Release Notes PDF: Greatly improved the appearance of non-English text in visible PDF signatures. SFTP: The HostKeyFingerprint property will now correctly return the ssh-ed25519 fingerprint, such as “ssh-ed25519 256 da:7b:ce:4f:d7:56:5e:11:a1:a0:fc:74:dd:4d:50:da”, for cases when an Ed25519 host key is used in the connection. Mime: Mime bodies having the content types application/vnd.openxmlformats-officedocument.wordprocessingml.document did not […]

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

Office365 App Setup for SMTP, POP, IMAP OAuth2 Client Credentials

This blog post walks you through the complete Azure App Registration process, including the subsequent Exchange Online PowerShell commands needed to achieve the OAuth2 client credentials flow for Office365 email sending and reading via the SMTP, IMAP, and POP3 protocols. I wish there was an “easy button”, but unfortunately it does not exist. Step 1. Register an Azure App Go […]