diff --git a/src/main/frontend/common/crypt.cljs b/src/main/frontend/common/crypt.cljs index dcffa015e9..bbc19ab460 100644 --- a/src/main/frontend/common/crypt.cljs +++ b/src/main/frontend/common/crypt.cljs @@ -4,6 +4,28 @@ (defonce subtle (.. js/crypto -subtle)) +(defn + (p/let [kp (> (state/get-auth-id-token) - (state/ {:devices (:devices keys-state) - :graph-aes-key-jwk (:aes-key-jwk keys-state)} + (-> keys-state (fipp/pprint {:width 20}) - with-out-str)]] - (shui/button - {:size :sm - :on-click (fn [_] - (when-let [device-uuid (not-empty (:remove-device-device-uuid keys-state))] - (when-let [token (state/get-auth-id-token)] - (state/