North Koreans scientists and technicians have had the opportunity and fissile material to work on machining plutonium since at least 1993. If Pakistan can machine fissile material to make a warhead then the North Koreans, inferentially, can because North Koreans worked at Khan Labs for years after the 1998 Pakistani nuclear test to develop warheads for the Ghauri missile, also made by Khan Labs.
... more