Closed advoretsky closed 7 years ago
That's because the Algorithm
instance is reusable and works for JWT creation as well. The 'signing' sample has the same problem. The readme is meant to be read in order.. You can ignore one of the keys (null) as long as the other is valid. This is explained here.
usage of the private key in the 'verification' example is confusing: