That "gun digitally safed" concept was tried before and pretty roundly rejected. Even electrically ignited primers were a market failure. Gun people are more paranoid than even InfoSec researchers when it comes to tech in their toys. If you truly believe your guns are for self defense, it makes a little more sense.
I haven't heard of any electrically ignited primers that made it to market, but every attempt that's gone through military trials have had abysmal reliability.
Forgotten Weapons on YouTube has a video on the Armatix iP1 "smart" pistol, the technology behind it, it's development and why it was a commercial failure.