John McAfee said he's not the third party helping unlock an iPhone used by a terrorist — but he knows who is — and he's not fond of their approach.

"I promise you that [Apple CEO] Tim Cook and Apple are not going to be happy with the solution that the FBI has come up with," McAfee, the controversial technology executive, told CNBC's "Power Lunch." "Because it is almost as bad as a universal master key."