Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signer really needs to run on the server? #78

Closed
adrelanos opened this issue Jul 30, 2013 · 9 comments
Closed

Signer really needs to run on the server? #78

adrelanos opened this issue Jul 30, 2013 · 9 comments

Comments

@adrelanos
Copy link

Some time ago on the mailing list you told me, that the singer needs to run on the server. This is a limitation, since http hosting is cheaper (sourceforge) than shell hosting.

So wouldn't it be possible to run the singer locally and then just upload with rsync?

This is probably just a ticket for documentation.

@JustinCappos
Copy link
Member

I may be a little confused about what you are referring to.

For the main repository data:
Different parties sign different things. We need to keep a few keys on
the repo to assert timeliness of data. These need to be located there and
will sign metadata locally. If this isn't done, then could use something
like HTTPS to give similar (but weaker) guarantees.

For an individual developer:
Of course, developers will themselves have keys they use to sign their
packages. Those will never be added to the server. So in this case the
developer can do exactly as you suggest and simply upload the packages and
signed metadata.

Thanks,
Justin

@trishankkarthik
Copy link
Contributor

@adrelanos : No, I do not think that the new signer tools, at least, have to run on the server. My colleague @Vladdd is currently working on making them even better: the signer tools will be broken down into completely stand-alone, individual pieces so that each role can its job without requiring any other role to be physically present on the same machine.

@trishankkarthik
Copy link
Contributor

I should mention that @Vladdd has written tools to push metadata from your machine to a remote one via scp.

@JustinCappos
Copy link
Member

I think I understand the confusion now. Essentially,
@adrelanoshttps://github.com/adrelanos is
asking if a developer can add their packages to a public website without
providing timestamp, release, etc. metadata and have TUF use these? If
so, what guarantees does TUF provide and how does it do so?

Is this what you're asking?

Thanks,
Justin

On Tue, Jul 30, 2013 at 9:36 AM, Trishank Karthik Kuppusamy <
notifications@github.com> wrote:

I should mention that @Vladdd https://github.com/vladdd has written tools
to push metadata from your machine to a remote one via scphttps://github.com/theupdateframework/tuf/tree/master/tuf/pushtools
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/78#issuecomment-21790932
.

@adrelanos
Copy link
Author

Maybe. Let me try to explain with an example.

For example I am hosting an APT repository on sourceforge.net. I am not
allowed to use cron there. The tool for repository creation (reprepro)
runs on my local machine. I create and sign the repository on my local
machine, then upload to sourceforge.

When the valid-until field is about to expire, I resign the repository
on my local machine again and upload the repository again.

Cons:

  • less convenient

Pro:

  • no software required on the server
  • no signing keys required on the server

I was wondering, if I could similarly use TUF.

@JustinCappos
Copy link
Member

Yes, this should work for TUF without issue.

The only thing that may be complicated is how TUF handles multiple repos
(which will be a requirement eventually anyways).

Justin

On Tue, Jul 30, 2013 at 11:30 AM, adrelanos notifications@github.comwrote:

Maybe. Let me try to explain with an example.

For example I am hosting an APT repository on sourceforge.net. I am not
allowed to use cron there. The tool for repository creation (reprepro)
runs on my local machine. I create and sign the repository on my local
machine, then upload to sourceforge.

When the valid-until field is about to expire, I resign the repository
on my local machine again and upload the repository again.

Cons:

  • less convenient

Pro:

  • no software required on the server
  • no signing keys required on the server

I was wondering, if I could similarly use TUF.


Reply to this email directly or view it on GitHubhttps://github.com//issues/78#issuecomment-21799297
.

@trishankkarthik
Copy link
Contributor

@adrelanos : Let us know we have answered your questions. Otherwise we will consider the issue closed.

@adrelanos
Copy link
Author

Answered. Thank you!

@trishankkarthik
Copy link
Contributor

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants