http://www.foxnews.com/us/2016/05/24/hawaii-could-be-first-state-to-put-gun-owners-in-federal-database.html?intcmp=hpbt2
The Firearm Owners’ Protection Act of 1986 (FOPA) is a United States federal law that revised many provisions of the Gun Control Act of 1968. As such, FOPA makes it illegal for the national government or any state in the country to keep any sort of database or registry that ties firearms directly to their owner. The exact wording of the provision is as follows:
No such rule or regulation prescribed [by the Attorney General] after the date of the enactment of the Firearms Owners Protection Act may require that records required to be maintained under this chapter or any portion of the contents of such records, be recorded at or transferred to a facility owned, managed, or controlled by the United States or any State or any political subdivision thereof, nor that any system of registration of firearms, firearms owners, or firearms transactions or disposition be established. Nothing in this section expands or restricts the Secretary’s authority to inquire into the disposition of any firearm in the course of a criminal investigation