{"id":486104,"date":"2026-07-03T14:19:49","date_gmt":"2026-07-03T14:19:49","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=486104"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=486104","title":{"rendered":"SecretAuth \u2013 UX-\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041c\u0438\u0440 \u0441\u0438\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 21 \u0432\u0435\u043a\u0430. \u0412 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u041c\u044b \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u043b\u0438\u0441\u044c \u043e\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432\u0440\u043e\u0434\u0435 Google \u0438 Apple. \u041d\u043e \u0442\u0430\u043a \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u044d\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f? \u0418 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0435\u043c\u0443?<\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0432\u0435\u0449\u044c. SecretAuth \u2013 UX-\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2013 \u043d\u0435\u0442. \u0412\u044b \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043f\u0440\u0430\u0432\u044b.<\/p>\n<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u043e UX-\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u044b \u043f\u043e\u0439\u043c\u0451\u0442\u0435, \u043e \u0447\u0451\u043c \u0440\u0435\u0447\u044c.<\/p>\n<p>\u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u043a\u0440\u0438\u043f\u0442\u043e-\u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0435. \u041b\u0438\u0431\u043e \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 WebAuthn, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041b\u0438\u0431\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0441\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u0421\u0443\u0442\u044c \u044d\u0442\u043e\u0433\u043e UX-\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 \u2013 \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c \u0438 \u043d\u0435 \u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435, email, \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0432\u0441\u0451.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440\u044b: \u0447\u0442\u043e \u0443\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440<\/strong><\/p>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0434\u0430\u0451\u0442 <strong>challenge<\/strong>:<\/p>\n<pre><code class=\"json\">{\u00a0\"domain\": \"example.com\",\u00a0\"nonce\": \"a1b2c3d4e5f6789012345678abcdef01\",\u00a0\"exp\": 1719667500}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<\/p>\n<pre><code class=\"markdown\">example.com wants you to prove your signing key:nonce: a1b2c3d4e5f6789012345678abcdef01exp: 1719667500<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>proof<\/strong> \u2014 \u043e\u043d \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f (\u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447, passkey).<\/p>\n<p><strong>\u041a\u043e\u0448\u0435\u043b\u0451\u043a (Ethereum):<\/strong><\/p>\n<pre><code class=\"json\">{\u00a0\"message\": \"example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500\",\u00a0\"signature\": { \"value\": \"0x\u2026\" },\u00a0\"pubKey\": {\u00a0\u00a0\u00a0\"algorithm\": \"secp256k1\",\u00a0\u00a0\u00a0\"source\": \"ethereum\",\u00a0\u00a0\u00a0\"value\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb\",\u00a0\u00a0\u00a0\"encoding\": \"hex\"\u00a0}}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>\u0421\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 (\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043b\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430):<\/strong><\/p>\n<pre><code class=\"json\">{\u00a0\"message\": \"example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500\",\u00a0\"signature\": { \"value\": \"base64\u2026\", \"encoding\": \"base64\" },\u00a0\"pubKey\": {\u00a0\u00a0\u00a0\"algorithm\": \"Ed25519\",\u00a0\u00a0\u00a0\"source\": \"raw\",\u00a0\u00a0\u00a0\"value\": \"base64-public-key\u2026\",\u00a0\u00a0\u00a0\"encoding\": \"base64\"\u00a0}}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>Passkey (WebAuthn):<\/strong><\/p>\n<pre><code class=\"json\">{\u00a0\"message\": \"example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500\",\u00a0\"signature\": {\u00a0\u00a0\u00a0\"value\": \"base64url\u2026\",\u00a0\u00a0\u00a0\"encoding\": \"base64url\",\u00a0\u00a0\u00a0\"extension\": {\u00a0\u00a0\u00a0\u00a0\u00a0\"authenticatorData\": \"base64url\u2026\",\u00a0\u00a0\u00a0\u00a0\u00a0\"clientDataJSON\": \"base64url\u2026\"\u00a0\u00a0\u00a0}\u00a0},\u00a0\"pubKey\": {\u00a0\u00a0\u00a0\"algorithm\": \"ES256\",\u00a0\u00a0\u00a0\"source\": \"webauthn\",\u00a0\u00a0\u00a0\"value\": \"base64url-credential-id\",\u00a0\u00a0\u00a0\"encoding\": \"base64url\"\u00a0}}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h2>\u0412\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u043e\u0432<\/h2>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u2013 \u0434\u0430\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0435\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c<\/p>\n<p>\u0421\u043f\u0435\u043a\u0430: <a href=\"https:\/\/github.com\/MaratBektemirov\/SecretAuth\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/MaratBektemirov\/SecretAuth<\/a><br \/>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f: <a href=\"https:\/\/cruzo.org\/#\/web3\/auth\" rel=\"noopener noreferrer nofollow\">https:\/\/cruzo.org\/#\/web3\/auth<\/a><\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1055364\/\">https:\/\/habr.com\/ru\/articles\/1055364\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0438\u0440 \u0441\u0438\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 21 \u0432\u0435\u043a\u0430. \u0412 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u041c\u044b \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u043b\u0438\u0441\u044c \u043e\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432\u0440\u043e\u0434\u0435 Google \u0438 Apple. \u041d\u043e \u0442\u0430\u043a \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u044d\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f? \u0418 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0435\u0433\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0430\u0442 \u0435\u043c\u0443?\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0432\u0435\u0449\u044c. SecretAuth \u2013 UX-\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u2013 \u043d\u0435\u0442. \u0412\u044b \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043f\u0440\u0430\u0432\u044b.\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044d\u0442\u043e UX-\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u044b \u043f\u043e\u0439\u043c\u0451\u0442\u0435, \u043e \u0447\u0451\u043c \u0440\u0435\u0447\u044c.\u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u043a\u0440\u0438\u043f\u0442\u043e-\u043a\u043e\u0448\u0435\u043b\u044c\u043a\u0435. \u041b\u0438\u0431\u043e \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 WebAuthn, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041b\u0438\u0431\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0441\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435. \u0421\u0443\u0442\u044c \u044d\u0442\u043e\u0433\u043e UX-\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430 \u2013 \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u043a\u043b\u044e\u0447\u043e\u043c \u0438 \u043d\u0435 \u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435, email, \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438 \u043f\u0440\u043e\u0447\u0435\u0435. \u041d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0432\u0441\u0451.\u041f\u0440\u0438\u043c\u0435\u0440\u044b: \u0447\u0442\u043e \u0443\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0421\u0435\u0440\u0432\u0435\u0440 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0434\u0430\u0451\u0442 challenge:{\u00a0&#171;domain&#187;: &#171;example.com&#187;,\u00a0&#171;nonce&#187;: &#171;a1b2c3d4e5f6789012345678abcdef01&#187;,\u00a0&#171;exp&#187;: 1719667500}\u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:example.com wants you to prove your signing key:nonce: a1b2c3d4e5f6789012345678abcdef01exp: 1719667500\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f proof \u2014 \u043e\u043d \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f (\u043a\u043e\u0448\u0435\u043b\u0451\u043a, \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447, passkey).\u041a\u043e\u0448\u0435\u043b\u0451\u043a (Ethereum):{\u00a0&#171;message&#187;: &#171;example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500&#187;,\u00a0&#171;signature&#187;: { &#171;value&#187;: &#171;0x\u2026&#187; },\u00a0&#171;pubKey&#187;: {\u00a0\u00a0\u00a0&#171;algorithm&#187;: &#171;secp256k1&#187;,\u00a0\u00a0\u00a0&#171;source&#187;: &#171;ethereum&#187;,\u00a0\u00a0\u00a0&#171;value&#187;: &#171;0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb&#187;,\u00a0\u00a0\u00a0&#171;encoding&#187;: &#171;hex&#187;\u00a0}}\u0421\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 (\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u043b\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430):{\u00a0&#171;message&#187;: &#171;example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500&#187;,\u00a0&#171;signature&#187;: { &#171;value&#187;: &#171;base64\u2026&#187;, &#171;encoding&#187;: &#171;base64&#187; },\u00a0&#171;pubKey&#187;: {\u00a0\u00a0\u00a0&#171;algorithm&#187;: &#171;Ed25519&#187;,\u00a0\u00a0\u00a0&#171;source&#187;: &#171;raw&#187;,\u00a0\u00a0\u00a0&#171;value&#187;: &#171;base64-public-key\u2026&#187;,\u00a0\u00a0\u00a0&#171;encoding&#187;: &#171;base64&#187;\u00a0}}Passkey (WebAuthn):{\u00a0&#171;message&#187;: &#171;example.com wants you to prove your signing key:\\n\\nnonce: a1b2c3d4e5f6789012345678abcdef01\\nexp: 1719667500&#187;,\u00a0&#171;signature&#187;: {\u00a0\u00a0\u00a0&#171;value&#187;: &#171;base64url\u2026&#187;,\u00a0\u00a0\u00a0&#171;encoding&#187;: &#171;base64url&#187;,\u00a0\u00a0\u00a0&#171;extension&#187;: {\u00a0\u00a0\u00a0\u00a0\u00a0&#171;authenticatorData&#187;: &#171;base64url\u2026&#187;,\u00a0\u00a0\u00a0\u00a0\u00a0&#171;clientDataJSON&#187;: &#171;base64url\u2026&#187;\u00a0\u00a0\u00a0}\u00a0},\u00a0&#171;pubKey&#187;: {\u00a0\u00a0\u00a0&#171;algorithm&#187;: &#171;ES256&#187;,\u00a0\u00a0\u00a0&#171;source&#187;: &#171;webauthn&#187;,\u00a0\u00a0\u00a0&#171;value&#187;: &#171;base64url-credential-id&#187;,\u00a0\u00a0\u00a0&#171;encoding&#187;: &#171;base64url&#187;\u00a0}}\u0412\u043c\u0435\u0441\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u043e\u0432\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u2013 \u0434\u0430\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0435\u043c\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c\u0421\u043f\u0435\u043a\u0430: https:\/\/github.com\/MaratBektemirov\/SecretAuth\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f: https:\/\/cruzo.org\/#\/web3\/auth\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1055364\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-486104","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/486104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=486104"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/486104\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=486104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=486104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=486104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}