Judge Pauley’s opinion largely disregards the concerns central to the presidential panel’s report and the ruling on Dec. 16 by a federal district judge in Washington, Richard Leon, who found that the agency’s program was “significantly likely” to be unconstitutional.

The government’s claim that the program is constitutional rests on a 1979 Supreme Court case, Smith v. Maryland, which held that a robbery suspect had no expectation of privacy — and no Fourth Amendment protection — in the telephone numbers he dialed. Judge Leon found the Smith decision to be inapplicable to a daily, indiscriminate sweep of hundreds of millions of phone records. Judge Pauley, however, said its logic still applied.

Judge Pauley’s opinion is perplexing in its near-total acceptance of the claim by the government that it almost always acts in accordance with the law and quickly self-corrects when it does not. For example, Judge Pauley said the N.S.A.’s director, Gen. Keith Alexander, was being “crystal clear” when he responded to charges that the agency was mining data from phone calls by saying: “We’re not authorized to do it. We aren’t doing it.”

That shows an alarming lack of skepticism, particularly in light of the testimony of James Clapper Jr., the director of national intelligence, who falsely told the Senate Intelligence Committee in March that the N.S.A. was not collecting any type of data at all on hundreds of millions of Americans.

It is also incorrect to say, as Judge Pauley does, that there is “no evidence” that the government has used the phone data for anything other than terrorism investigations. An inspector general’s report in September revealed at least a dozen instances in which government employees used the databases for personal purposes.