I am a court ordered Personal Representative.
If filing a paper tax return, on the Form 1040-SR the signature is on page 3 of the form.
You would sign where it says "Your Signature". Write the word “DECEASED,” the decedent's name, and the date of death across the top of the tax return.
Pub 559