Code Signing with a USB Token

Here are examples for code signing with a USB token.. AutoIt Code Signing using Sectigo USB Token C Code Signing using Sectigo USB Token Python Code Signing using Sectigo USB Token C++ Code Signing using Sectigo USB Token C# Code Signing using Sectigo USB Token DataFlex Code Signing using Sectigo USB Token Delphi Code Signing using Sectigo USB Token .NET […]

Wasabi: The provided ‘x-amz-content-sha256’ header does not match what was computed.

As of 14-Oct-2024, Wasabi (an S3 compatible service), does not understand that uppercase/lowercase hex should not matter.. <Error> <Code>XAmzContentSHA256Mismatch</Code> <Message>The provided ‘x-amz-content-sha256’ header does not match what was computed.</Message> <ClientComputedContentSHA256>8AFBD736EC2917807F5FF5D8A9018846AA9D6B25EC839506DACE0D588DE491C5</ClientComputedContentSHA256> <S3ComputedContentSHA256>8afbd736ec2917807f5ff5d8a9018846aa9d6b25ec839506dace0d588de491c5</S3ComputedContentSHA256> <RequestId>…</RequestId> <HostId>…</HostId> <CMReferenceId>…</CMReferenceId> </Error>

How to Setup a Google Service Account to Send Email via GMail

Sending GMail from a Google Service Account can be a complicated undertaking w.r.t. setting things up in your Google account correctly. If something is not correct, the only indication of an error will be that the SMTP authentication fails. The best one can do is to first fully understand Google Service Accounts: Explaining Google Service Accounts   Then read about […]

Returning Binary Data from ActiveX to SQL Server varbinary(max)

The error -2147211494 (hex 0x80040202) in SQL Server when using “sp_OAMethod” typically indicates a type mismatch or invalid data type issue, particularly when interacting with COM objects that return binary data. The Chilkat ActiveX returns a SAFEARRAY of VT_UI1, which causes the problem explained below.  The solution is to instead look for the Chilkat method that returns the binary data as […]

How to Implement a REST API Function

Question: We are trying to interface with RingCentral to send faxes and they require us to upload the file and also send a JSON message at the same time – is there a function that can do this? Answer: The best way to solve such a problem is as follows: 1. Find the Developer Documentation for the REST API in […]

PDF Unsigned Signature Fields

Unsigned signature fields in a PDF are placeholders for digital signatures that can be added to a PDF document at a later time. These fields are often created by the author or originator of the document, and they indicate where and how a digital signature should be placed. When the document is distributed, recipients can then use these fields to […]

Explaining the SigningTime Authenticated Attribute in PKCS7 Signatures

The “signingTime” authenticated attribute in PKCS #7 (now part of Cryptographic Message Syntax or CMS) signatures is an optional attribute that indicates the date and time when the digital signature was created. It is commonly included in signed-data objects to provide a timestamp that can help verify when a signature was applied. Detailed Explanation: Attribute OID: The “signingTime” attribute is […]

Error Code 800A01AD trying to CreateObject in VBScript

Question: I got the following error when trying to instantiate an ActiveX object in my VBScript (.vbs) Code “800A01AD”Message “ActiveX component can’t create object: ‘Chilkat.Cert’” Answer: It means the ActiveX is not registered.  Yes, you probably registered the ActiveX, but you need to understand if your VBScript is running as a 32-bit process, or a 64-bit process.  You then need […]