How can I trigger above dialog from a shell script which needs to prompt for a password?
I already encountered and use zenity
for that purpose, though I like the former more for aesthetic reasons (yeah, that matters sometimes ;-) .
Zenity alternative:
zenity --password --title="Enter private passphrase"
Ubuntu 20.04, GTK, GNOME