]> Cypherpunks repositories - keks.git/commitdiff
Rename for convenience
authorSergey Matveev <stargrave@stargrave.org>
Tue, 15 Apr 2025 11:35:42 +0000 (14:35 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 15 Apr 2025 11:35:44 +0000 (14:35 +0300)
Reduce the entropy!

15 files changed:
go/cm/cmd/cmenctool/main.go [moved from go/cm/cmd/enctool/main.go with 99% similarity]
go/cm/cmd/cmenctool/multirecipient.t [moved from go/cm/cmd/enctool/multirecipient.t with 100% similarity]
go/cm/cmd/cmenctool/passphrase.t [moved from go/cm/cmd/enctool/passphrase.t with 100% similarity]
go/cm/cmd/cmenctool/prv-encrypted.t [moved from go/cm/cmd/enctool/prv-encrypted.t with 100% similarity]
go/cm/cmd/cmenctool/pub.t [moved from go/cm/cmd/enctool/pub.t with 100% similarity]
go/cm/cmd/cmenctool/usage.go [moved from go/cm/cmd/enctool/usage.go with 94% similarity]
go/cm/cmd/cmhshtool/main.go [moved from go/cm/cmd/hshtool/main.go with 73% similarity]
go/cm/cmd/cmkeytool/certification.t [moved from go/cm/cmd/keytool/certification.t with 100% similarity]
go/cm/cmd/cmkeytool/kem-generation.t [moved from go/cm/cmd/keytool/kem-generation.t with 100% similarity]
go/cm/cmd/cmkeytool/main.go [moved from go/cm/cmd/keytool/main.go with 99% similarity]
go/cm/cmd/cmkeytool/usage.go [moved from go/cm/cmd/keytool/usage.go with 94% similarity]
go/cm/cmd/cmsigtool/basic.t [moved from go/cm/cmd/sigtool/basic.t with 100% similarity]
go/cm/cmd/cmsigtool/main.go [moved from go/cm/cmd/sigtool/main.go with 99% similarity]
go/cm/cmd/cmsigtool/usage.go [moved from go/cm/cmd/sigtool/usage.go with 94% similarity]
go/cm/utils/mk-bin

similarity index 99%
rename from go/cm/cmd/enctool/main.go
rename to go/cm/cmd/cmenctool/main.go
index 370810dc173775da302a12008ab97b0fcfdf4ec89e43b7d951547392fe3b560c..15d959dc6ae6b9e74f1bf77e700d26ccce6cf119f3c4c8a803a25b43e2d3d4ad 100644 (file)
@@ -1,4 +1,4 @@
-// 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
similarity index 94%
rename from go/cm/cmd/enctool/usage.go
rename to go/cm/cmd/cmenctool/usage.go
index 91aaec46410223f6f1f362a5a7f6f639694c566d000a4c69b872695893e2af76..2167448a4bb7f85af209808f511b899d5c73d47772fa871ba022ab0bbcae6393 100644 (file)
@@ -1,4 +1,4 @@
-// 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
similarity index 73%
rename from go/cm/cmd/hshtool/main.go
rename to go/cm/cmd/cmhshtool/main.go
index adac9ef331c89659aeea9af7558fef69eccdf1e8bbe7dc138d365ce9e354d635..328ad5a318a16059d6be30806c018196e05d7fa8e9a95513f1aab7add9565f0a 100644 (file)
@@ -1,3 +1,18 @@
+// 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 (
similarity index 99%
rename from go/cm/cmd/keytool/main.go
rename to go/cm/cmd/cmkeytool/main.go
index c2bc1a78da0829c4cf2cddc7eccaa72dfa55886d751e4a248a63b5a28e9868c2..785dee09f89b2c766bfe26864c7a322f6c652ab49382368bda7f71f7329c80ad 100644 (file)
@@ -1,4 +1,4 @@
-// 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
similarity index 94%
rename from go/cm/cmd/keytool/usage.go
rename to go/cm/cmd/cmkeytool/usage.go
index dcc4ab3aa247d59c889d3c4ec605862e6537bc304abdc5fee31960751ee4e940..22a7bde9c3c2c494f0015153844fc2184a3da3ce7900266a89b3a289dc691e89 100644 (file)
@@ -1,4 +1,4 @@
-// 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
similarity index 99%
rename from go/cm/cmd/sigtool/main.go
rename to go/cm/cmd/cmsigtool/main.go
index 7ceaff5bd4b8964a9568e558d594bef5267863ebc7df9d267bfd5531ce00870a..611f4cd2e6cd13b0602d2de24b1c499eed627ba5394d5127b9e3078d0bdcf42a 100644 (file)
@@ -1,4 +1,4 @@
-// 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
similarity index 94%
rename from go/cm/cmd/sigtool/usage.go
rename to go/cm/cmd/cmsigtool/usage.go
index c4c4f384fb5c6ec8e71d3d112c31ad7242766082e61dae447a505db4bf145cc0..53b5078c706392a7632ec82146597cb361f045c8d00c5b6623fd98c5cf6ca2bc 100644 (file)
@@ -1,4 +1,4 @@
-// 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
index 58dcf0f8cc35672f3f1cbd2e1912d48867f47dd61e1d6e614b07ae81a508cea8..726a79e803d1af0649cf0961cee354f6f0a5696e691d03c2514a61a32b70105c 100755 (executable)
@@ -6,6 +6,6 @@ cd "$root/.."
 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