From c68dbf4088d1d58a2cc3adcbfb0763d74cd6bc9c Mon Sep 17 00:00:00 2001 From: Tatiana Nesterenko Date: Fri, 17 Jan 2025 08:36:30 +0000 Subject: [PATCH 1/3] Makefile: Update the linter version As `make docker/lint` doesn't work due to unknown linters: 'copyloopvar' and 'intrange', it requires a newer version. Signed-off-by: Tatiana Nesterenko --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c803a235..6ba001d8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ REPO ?= $(shell go list -m) VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 | sed 's/^v//' 2>/dev/null || cat VERSION 2>/dev/null || echo "develop") GO_VERSION ?= 1.22 -LINT_VERSION ?= 1.49.0 +LINT_VERSION ?= 1.59.0 BINDIR = bin # Binaries to build From 64c9119e759dc34ad880b7df1ea25c84c91f3eea Mon Sep 17 00:00:00 2001 From: Tatiana Nesterenko Date: Fri, 17 Jan 2025 08:53:32 +0000 Subject: [PATCH 2/3] docs: Add a note about using authmate with NeoFS AIO Signed-off-by: Tatiana Nesterenko --- docs/authmate.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/authmate.md b/docs/authmate.md index 5206eafe..0d630bef 100644 --- a/docs/authmate.md +++ b/docs/authmate.md @@ -141,6 +141,9 @@ interactively. You can also specify an account address to use from a wallet usin * `--gate-public-key` is a public `secp256r1` 33-byte short key of a gate (use flags repeatedly for multiple gates). The tokens are encrypted by a set of gateway keys, so you need to pass them as well. +Note: If you are using the NeoFS AIO container for development purposes, you should add the parameter +`--container-placement-policy "REP 1"` as the AIO service has only one node. + You can issue a secret using the parameters above only. The tool will 1. create a new container 1. without a friendly name From b1a84a2853a4b45b91253446a0d63c8391e2e418 Mon Sep 17 00:00:00 2001 From: Tatiana Nesterenko Date: Fri, 17 Jan 2025 09:04:29 +0000 Subject: [PATCH 3/3] docs: Fix anchor links Signed-off-by: Tatiana Nesterenko --- docs/authmate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/authmate.md b/docs/authmate.md index 0d630bef..36191797 100644 --- a/docs/authmate.md +++ b/docs/authmate.md @@ -149,8 +149,8 @@ You can issue a secret using the parameters above only. The tool will 1. without a friendly name 2. with ACL `0x3c8c8cce` -- all operations are forbidden for `OTHERS` and `BEARER` user groups, except for `GET` 3. with policy `REP 2 IN X CBF 3 SELECT 2 FROM * AS X` -2. put bearer and session tokens with default rules (details in [Bearer tokens](#Bearer tokens) and -[Session tokens](#Session tokens)) +2. put bearer and session tokens with default rules (details in [Bearer tokens](#bearer-tokens) and +[Session tokens](#session-tokens)) E.g.: ```shell