What Two Main Components Does a Typical Scriptsig Contain?

A typical scriptSig, used to unlock a P2PKH output, contains two main components. The first is the digital signature, created by the private key owner, which authorizes the transaction.

The second is the public key corresponding to the private key used for signing. The scriptPubKey uses the public key to verify the signature and ensure the funds are being spent by the rightful owner.

How Does a Signature Prove Ownership of Funds without Revealing the Private Key?
How Does the Private Key Relate to the Public Key in ECDSA?
What Is the Primary Purpose of a “Scriptsig” in a Standard UTXO Transaction?
How Does the Elliptic Curve Digital Signature Algorithm (ECDSA) Relate to Public Key Security?
How Does a Public Key Relate to a Private Key?
What Is the Relationship between a Public Key and a Private Key in ECDSA?
What Is the Relationship between a Private Key and a Public Key?
How Does a Private Key Relate to a Public Key and a Wallet Address?

Glossar