The NetBeans build system downloads most of its dependencies from maven central, but some binaries are kept on:
binaries from http://netbeans.osuosl.org/binaries/
see config file:
https://github.com/apache/netbeans/blob/master/nbbuild/binaries-default-properties.xml
Obtaining the SSH keys for ftp-osl.osuosl.org
...
$ pgp -decrypt ftp-osl-osuosl-org-private-key.asc > ftp-osl-osuosl
$ pgp -decrypt public-key.txt.asc > ftp-osl-osuosl.pub
or
$ gpg --output ftp-osl-osuosl --decrypt ftp-osl-osuosl-org-private-key.asc
$ gpg --output ftp-osl-osuosl.pub --decrypt public-key.txt.asc
Setting up the SSH keys
You now have the public and private SSH keys to access the server "ftp-osl.osuosl.org" with username "netbeans" .
...
- Move the resulting "ftp-osl-osuosl" and "ftp-osl-osuosl.pub" to your $HOME/.ssh directory, as all entries in your ".ssh" directory.
- $ chmod 600 ~/.ssh/ftp-osl-osuosl
- Edit your "$HOME/.ssh/config" file, and add an entry like so:
...
Or to upload files there using "scp", for instance.
Once logged in to ftp-osl.osuosl.org please read ~/README-NETBEANS.txt in the $HOME directory for further instructions on syncing.
$ scp -i ~/.ssh/ftp-osl-osuosl /path/to/file netbeans@ftp-osl.osuosl.org:/path/to/binaries/directory
Browsing binaries
You can browse the current list of binaries visiting this link with a browser:https:// http://netbeans.osuosl.org/binaries/
(Note: Binaries which are uploaded via ftp-osl.osuosl.org /pub/netbeans/binaries/are not added to the web page as links. )
Note that binaries are always uploaded using the uppercased SHA-1 hash, followed by a dash and then the name of the file.
$ sha1sum filename.zip | awk '{print "mv "$2" "toupper($1)"-"$2}' | sh
Re-encrypting the keys
The keys have been last encrypted in 2019-05-09 with the PGP keys of the NetBeans PMC Team, available at https://people.apache.org/keys/group/netbeans.asc
We will need to re-encrypt the files from time to time, as the new PGP keys from new PMC Team members are added to the group. In order to re-encrypt the file please see https://svn.apache.org/repos/private/pmc/netbeans/secrets/encrypt.sh
If you're an Apache PMC Member and your PGP keys are not in the file above, then:
- have your PGP keys added to Apache (see https://www.apache.org/dev/new-committers-guide.html#set-up-security-and-pgp-keys )
- and then ask in private@netbeans.apache.org for somebody with a valid PGP key to re-encrypt the secrets, so you can gain access to them.