Skip to content

Commit

Permalink
broken migration guide link (#602)
Browse files Browse the repository at this point in the history
* broken migration guide link

* Update index.md

* emerose.com offline

* Update index.md
  • Loading branch information
pjfanning committed Sep 16, 2024
1 parent afd1031 commit dfbb8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/paradox/migration-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@@toc { depth=3 }

* If you are currently using an old version of Akka HTTP or Spray, you should first follow the [Akka HTTP migration guide](https://doc.akka.io/docs/akka-http/10.2/migration-guide/index.html)
* The @extref:[migration guide](pekko-docs:project/migration-guides.html) for the core Apache Pekko libs is a useful guideline.
* The @extref:[migration guide](pekko-docs:migration/index.html) for the core Apache Pekko libs is a useful guideline.
* for Pekko jar dependencies, the groupId is "org.apache.pekko" instead of "com.typesafe.akka"
* the jar names start with "pekko" instead of "akka" - e.g. pekko-http_2.13.jar instead of akka-http_2.13.jar
* If you have a dependency akka-http2-support, Pekko does not need a separate jar. The support is built into main pekko-http jars.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ as defined in [RFC 6750](https://tools.ietf.org/html/rfc6750), and allow users t

When transforming request `Credentials` into an application specific user identifier the naive solution for
checking the secret (password) would be a regular string comparison, but doing this would open up the application to
timing attacks. See for example [Timing Attacks Explained](https://emerose.com/timing-attacks-explained) for an explanation of the problem.
timing attacks. See for example [Timing Attacks Explained](https://web.archive.org/web/20230902003704/https://emerose.com/timing-attacks-explained) for an explanation of the problem.

To protect users of the library from that mistake the secret is not available through the API, instead the method
`Credentials.Provided.verify(String)` should be used. It does a constant time comparison rather than returning early
Expand Down

0 comments on commit dfbb8b8

Please sign in to comment.