1. 20 Sep, 2018 1 commit
    • Snorre Magnus Davøen's avatar
      Improve logging from resolve-key · 87d3b78a
      Snorre Magnus Davøen authored
      
      
      The resolve-key function now logs first resolve attempt as a debug
      statement. For usual INFO-level logging this will effectively turn off
      logging of the first key resolve attempt which covers most resolve
      calls.
      
      If the key is not found the clj-jwt library will log the error with
      error level before throwing the exception. This might help with
      debugging when encountering problems with token validation.
      Signed-off-by: Snorre Magnus Davøen's avatarSnorre Magnus Davøen <snorre.davoen@nsd.no>
      87d3b78a
  2. 19 Sep, 2018 2 commits
  3. 18 Sep, 2018 2 commits
    • Snorre Magnus Davøen's avatar
      be6588e4
    • Snorre Magnus Davøen's avatar
      Use tools deps for testing and lein for packaging · 542044f0
      Snorre Magnus Davøen authored
      
      
      It seems packaging the project as a jar for library use is difficult
      using tools deps. There is only one tool that does this, meyvn, which
      insists on collecting data about usage to be able to sell enterprise
      licenses to heavy users. Not a very attractive feature. It also depends
      on maven for secrets handling which means using maven's security setup
      with encrypted passwords in the maven config file and a master password
      rather than a gpg-encrypted edn file like leiningen and boot.
      
      In sum I think using leiningen to package the library is preferable. We
      can use the tools deps plugin for leiningen to fetch dependencies listed
      in the deps.edn file. Publishing the library to nexus.nsd.no should be
      done locally from developer machines (to sign package with gpg), so
      having both leiningen and tools deps installed should be no problem.
      Signed-off-by: Snorre Magnus Davøen's avatarSnorre Magnus Davøen <snorre.davoen@nsd.no>
      542044f0
  4. 17 Sep, 2018 1 commit