Chilkat v9.5.0.87 Pre-Release Notes

The previous version release notes: Chilkat v9.5.0.86 Release Notes Chilkat v9.5.0.87 Pre-Release Notes 1-Mar-2021 Http: When automatically following redirects, Chilkat was mistakenly removing the Authorization header for all redirects. The fix is to only remove the Authorization header when the redirect is to another domain. 8-Mar-2021 Pdf:  Chilkat would automatically choose to “certify” and lock a PDF document when signing […]

Chilkat v9.5.0.86 Release Notes

The previous version release notes: Chilkat v9.5.0.85 Release Notes The next version release notes: Chilkat v9.5.0.87 Release Notes Chilkat v9.5.0.86 Release Notes 10-Feb-2021 Pdf: Immediately after releasing v9.5.0.85, it was discovered that many PDF’s had the following error when viewed in Acrobat DC after signing:  “”The signature byte range is invalid””.  It was deemed important enough to fix and release […]

GMail IMAP NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)

You passed the correct login/password to login to imap.gmail.com, but you still get an “Invalid credentials” error.  What gives? For example, you called Chilkat’s Imap.Login method, passing the correct login/password, and the imap.LastErrorText contains this: authenticateLogin(110ms): loginImap(110ms): ConnectionType: SSL/TLS ImapCmdSent: aaab LOGIN “you@gmail.com” getCompleteResponse(110ms): ImapCmdResp: aaab NO [AUTHENTICATIONFAILED] Invalid credentials (Failure) –getCompleteResponse –loginImap isOK: serverResponse: aaab NO [AUTHENTICATIONFAILED] Invalid credentials […]

Xero Redirect URI for OAuth2 and Desktop Apps

This post is about Xero OAuth2 for desktop apps, but the same concepts generally apply to all other applications (REST API apps) using OAuth2. What many developers don’t initially realize (if new to OAuth2) is that an “App” needs to be defined in the developer portal for the service (i.e. Xero in this case).   For Xero, you would login to […]

Add-Type PowerShell Error for ChilkatDotNet47.dll

Problem:   The following command: Add-Type -Path “C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll” results in the following errors when attempting to run in PowerShell: + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo          : InvalidData : (Microsoft.Power…peCompilerError:AddTypeCompilerError) [Add-Type], Exception + FullyQualifiedErrorId : SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands.AddTypeCommand Add-Type : Impossible d’ajouter un type. Des erreurs de compilation se sont produites. Au caractère C:\ProgramData\C1B2.ps1:1 : 1 + Add-Type -Path”C:\chilkat\chilkatdotnet47-9.5.0-x64\ChilkatDotNet47.d … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ […]

Chilkat v9.5.0.85 Release Notes

The previous version release notes: Chilkat v9.5.0.84 Release Notes The next version release notes: Chilkat v9.5.0.86 Release Notes Chilkat v9.5.0.85 Release Notes 26-Oct-2020 Cert: Added the ExtendedKeyUsage property. 4-Nov-2020 XmlDSigGen: Fixed problem when X509Type property includes “SubjectName” AND the signing certificate has a subject name that includes the ‘&’ char. 4-Nov-2020 TLS 1.3: Fixed the error “Unexpected key_share group” that […]

Chilkat v9.5.0.84 Release Notes

The previous version release notes: Chilkat v9.5.0.83 Release Notes The next version release notes: Chilkat v9.5.0.85 Release Notes Chilkat v9.5.0.84 Release Notes 17-Jul-2020 CSR: Added the AddSan method to allow for 1 or more Subject Alternative Names to be added to the CSR that is generated. 25-Aug-2020 Tar: Added the ClearDirRootsAndFiles method. 10-Sep-2020 Email: Fixed some email address parsing problems […]

GMail IMAP OAuth2 – A Walkthrough

This blog post covers from start to finish the process for getting a desktop application working with GMail using the IMAP protocol with OAuth2 authentication. Start here:  https://console.developers.google.com/apis/credentials (1) The first step is to create credentials.  Your app is a desktop application.  HOWEVER, you will be creating credentials as if your app is a web app. See this YouTube video […]

Apple Mail warning: Unable to Verify Message Signature

If Apple Mail displays the warning “Unable to verify message signature”, and when clicking details it says: The digital signature is incorrect. The message may have been tampered with or corrupted since signed by (sender’s name). the reason is due to a bug in Apple Mail (possibly introduced in a recent version of MacOSX). See https://apple.stackexchange.com/questions/343251/apple-mail-warning-unable-to-verify-message-signature “When Mail is set […]