When I first developed Net::ACME2 the /directory endpoint returned a nonce.
This appears to have changed now, and the Net::ACME2 examples are broken.
(I notice that Pebble includes Replay-Nonce with /dir requests.)
Was this an intended change? I can make Net::ACME2 do a separate HEAD request, but of course that’s an additional round-trip that wasn’t needed before.
Yes, this was an intentional change. Sorry we had it wrong previously. The latest ACME spec provides nonces only on new-nonce requests, and in reply to POSTs.