# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
// #include <stdlib.h> | |
// #include "signal.h" | |
import "C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Produces a core. | |
// Usage: GOTRACEBACK=crash ./example | |
// Check ulimit -c beforehand. | |
// Note the root signal is SEGV, however Go catches this, handles it and raises ABRT. | |
package main | |
import ( | |
"fmt" | |
"sync/atomic" | |
"unsafe" |
Locate the section for your stash remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@stash.internal:private/repository.git
Now add the line fetch = +refs/pull-requests/*:refs/remotes/origin/pull-requests/*
to this section. Obviously, change the stash url to match your project's URL. It ends up looking like this:
Locate the section for your stash remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@stash.internal:private/repository.git
Now add the line fetch = +refs/pull-requests/*:refs/remotes/origin/pull-requests/*
to this section. Obviously, change the stash url to match your project's URL. It ends up looking like this: