-// enctool -- dealing with KEKS-encoded cm-encrypted utility
+// cmenctool -- dealing with KEKS-encoded cm-encrypted utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
-// enctool -- dealing with KEKS-encoded cm-encrypted utility
+// cmenctool -- dealing with KEKS-encoded cm-encrypted utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
+// cmhshtool -- dealing with KEKS-encoded cm-hashed utility
+// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, version 3 of the License.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this program. If not, see <http://www.gnu.org/licenses/>.
+
package main
import (
-// keytool -- dealing with KEKS-encoded keypairs utility
+// cmkeytool -- dealing with KEKS-encoded keypairs utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
-// keytool -- dealing with KEKS-encoded keypairs utility
+// cmkeytool -- dealing with KEKS-encoded keypairs utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
-// sigtool -- dealing with KEKS-encoded cm-signed utility
+// cmsigtool -- dealing with KEKS-encoded cm-signed utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
-// sigtool -- dealing with KEKS-encoded cm-signed utility
+// cmsigtool -- dealing with KEKS-encoded cm-signed utility
// Copyright (C) 2024-2025 Sergey Matveev <stargrave@stargrave.org>
//
// This program is free software: you can redistribute it and/or modify
redo-ifchange sign/signed.schema.keks sign/pub.schema.keks enc/encrypted.schema.keks
mkdir -p bin
for cmd in enc hsh key sig ; do
- cmd=${cmd}tool
- go build -o bin/cm$cmd -ldflags "$GO_LDFLAGS" ./cmd/$cmd
+ cmd=cm${cmd}tool
+ go build -o bin/$cmd -ldflags "$GO_LDFLAGS" ./cmd/$cmd
done