third_party/go: add filippo.io/age

You can test this using:

   bazel run '@io_filippo_age//cmd/age'

The same target can now be used in data dependencies for secretstore
(you'll need to hardcode the runfile path, or use some
Bazel-runfile-resolving library for Python).

This required adding a few dependencies to
third_party/go/repositories.bzl, but also moving golang.org/x/crypto
from that file into WORKSPACE, before gazelle_deps gets loaded (as the
version requested by gazelle_deps is too old). We also moved shlex that
shouldn't have been in WORKSPACE into third_party/go/repositories.bzl.

Otherwise, this was just a few small deps - bumped golang.org/x/crypto,
new golang.org/x/term, new filippo.io/edwards25519. Hooray low
dependency code.

Change-Id: I0e684d88efffde13a3b4e253860aabcb35a3c94d
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1158
Reviewed-by: patryk <patryk@hackerspace.pl>
diff --git a/WORKSPACE b/WORKSPACE
index bffcaf7..19e9304 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -89,11 +89,14 @@
 # gazelle:repository_macro third_party/go/repositories.bzl%go_repositories
 load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
 
+# Force newer version of golang.org/x/crypto that gazelle_dependencies would
+# usually get.
 go_repository(
-    name = "com_github_google_shlex",
-    importpath = "github.com/google/shlex",
-    sum = "h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=",
-    version = "v0.0.0-20191202100458-e7afc7fbc510",
+    name = "org_golang_x_crypto",
+    build_naming_convention = "go_default_library",
+    importpath = "golang.org/x/crypto",
+    sum = "h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=",
+    version = "v0.0.0-20210921155107-089bfa567519",
 )
 
 gazelle_dependencies()