Skip to content

Commit 0c94a3d

Browse files
committed
cljstyle
1 parent 5f2f968 commit 0c94a3d

File tree

10 files changed

+6
-13
lines changed

10 files changed

+6
-13
lines changed

deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
crypto-password/crypto-password {:mvn/version "0.3.0"}
1010
com.lambdaworks/scrypt {:mvn/version "1.4.0"}
1111
de.mkammerer/argon2-jvm {:mvn/version "2.12"}
12-
;crypto-password/crypto-password {:git/url "https://github.com/Flexiana/crypto-password"
13-
; :sha "cfd90d519e09797a97ded565a1e27c0b938771f1"}
12+
;; crypto-password/crypto-password {:git/url "https://github.com/Flexiana/crypto-password"
13+
;; :sha "cfd90d519e09797a97ded565a1e27c0b938771f1"}
1414
funcool/cuerdas {:mvn/version "2023.11.09-407"}
1515
info.sunng/ring-jetty9-adapter {:mvn/version "0.37.3"}
1616
metosin/malli {:mvn/version "0.17.0"}

examples/cli-chat/config/test/config.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
:parallelization 1}
2222
:pbkdf2-settings {:type :sha1 ; Available values: :sha1 and :sha256
2323
:iterations 100000}}}
24-

examples/frames/config/dev/config.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212

1313
:xiana/web-server {:port 3000
1414
:join? false}}
15-
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
{:xiana/web-server {:port 3333
22
:join? false}}
3-

examples/sessions/config/dev/config.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
:password "postgres"}
99
:xiana/web-server {:port 3000
1010
:join? false}}
11-

examples/state-events/config/test/config.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
:parallelization 1}
2222
:pbkdf2-settings {:type :sha1 ; Available values: :sha1 and :sha256
2323
:iterations 100000}}}
24-

src/xiana/hash/argon2.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"Functions for encrypting passwords using the recommended argon2 algorithm.
33
See: https://infosecscout.com/best-algorithm-password-storage
44
https://github.com/phxql/argon2-jvm"
5-
(:import (de.mkammerer.argon2 Argon2Factory)))
5+
(:import
6+
(de.mkammerer.argon2
7+
Argon2Factory)))
68

79
(import '(de.mkammerer.argon2 Argon2Factory))
810

@@ -17,7 +19,6 @@
1719
(def ^:private default-parallelization-parameter
1820
(Long/parseLong (System/getProperty "crypto.password.argon2.default-parallelization-parameter" "1")))
1921

20-
2122
(defn encrypt
2223
"Encrypt a password string using the argon2 algorithm. This function takes
2324
three optional parameters:

src/xiana/websockets.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
[clojure.string :as str]
55
[jsonista.core :as j]
66
[reitit.core :as r]
7-
[taoensso.timbre :as log]
87
[ring.websocket :as ringws]
8+
[taoensso.timbre :as log]
99
[xiana.interceptor.queue :as queue]))
1010

11-
1211
(def send! ringws/send)
1312
(def close! ringws/close)
1413

test/xiana/interceptor/kebab_camel_test.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
leave (:leave kc/interceptor)
2828
result (leave state)]
2929
(is (= expected result)))))
30-

test/xiana/route_test.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,3 @@
9797
expected helpers/not-found]
9898
;; verify if action has the expected value
9999
(is (= action expected))))
100-

0 commit comments

Comments
 (0)