/Makefile (aadc865b014a4e7686fa1003f6a31fbae493c6f1) (397 bytes) (mode 100644) (type blob)
KEY=$(HOME)/secure/keys/q.sec
MESSAGE=message
.PHONY: all
all: signature git ipfs
@echo "Message was updated."
.PHONY: signature
signature: $(MESSAGE) $(KEY)
signify -S -e -m $(MESSAGE) -s $(KEY)
.PHONY: git
git:
@git add $(MESSAGE) $(MESSAGE).sig
@git commit -m "New update" -q
@git push -q
.PHONY: ipfs
ipfs:
@echo Hash of a message in IPFS network is:
@ipfs add -Q $(MESSAGE).sig
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
397 |
aadc865b014a4e7686fa1003f6a31fbae493c6f1 |
Makefile |
100644 |
blob |
362 |
d20a3b34b35269be307cdc4f5677ffe0e5e42c5b |
message |
100644 |
blob |
500 |
3521b92928371169a8e28c0f2a2bea3a5974d242 |
message.sig |
100644 |
blob |
2599 |
fb6c407c22dc312d4b31db6f25986e42f0be6f8d |
readme |
100644 |
blob |
228 |
54ea4c44e91d55be53d9f86c5496a793d2af3b5f |
readme.asc |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/qwskr/canary
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/qwskr/canary
Clone this repository using git:
git clone git://git.rocketgit.com/user/qwskr/canary
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main