Instead of hi techy approaches like "smart" guns, which could be hacked by an oppressive state (think NJ/NY/CA) and rendered useless...

How about Kitchen Table Technology: firearms that an be made with a minimum of skills, tools, and easily obtained materials.

When you've solved that, work on the ammo issue, which is more difficult.