by cheez · 10y ago · 0 comments
But I have to admit I'm a little confused. Is this mostly for large repositories? I ship some software on multiple platforms and part of my build process builds an apt repo (available over HTTP) as follows:
run_gpg_command dpkg-sig -g " --yes" \
--sign builder *.deb && \
rm -rf repo && \
mkdir repo && \
cp *.deb repo && \
cd repo && \
(dpkg-scanpackages . /dev/null > Packages) && \
(bzip2 -kf Packages) && \
(apt-ftparchive release . > Release) && \
(run_gpg_command gpg --yes -abs -o Release.gpg Release) && \
(gpg --export --armour > archive.key)
Then I sync it to S3 using aws s3 sync.What are the problems doing it this way?
It does however not address the issue of signing in this case. Would be interesting to see if someone can extend it using an additional bucket to store credentials with the necessary policies to only allow the Lambda function to get and use them.