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
pkcs11-tool --sign --slot 0x2 --input-file message.txt --login --pid XXXXXX --mechanism SHA1-RSA-PKCS --verbose | |
0x7fff7917e000 01:22:06.203 [opensc-pkcs11] ctx.c:744:sc_context_create: =================================== | |
0x7fff7917e000 01:22:06.204 [opensc-pkcs11] ctx.c:745:sc_context_create: opensc version: 0.15.0 | |
0x7fff7917e000 01:22:06.140733193388237 [opensc-pkcs11] reader-pcsc.c:699:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=1 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1 | |
0x7fff7917e000 01:22:06.140733193388243 [opensc-pkcs11] reader-pcsc.c:1073:pcsc_detect_readers: called | |
0x7fff7917e000 01:22:06.140733193388243 [opensc-pkcs11] reader-pcsc.c:1087:pcsc_detect_readers: Probing PC/SC readers | |
0x7fff7917e000 01:22:06.140733193388243 [opensc-pkcs11] reader-pcsc.c:1116:pcsc_detect_readers: Establish PC/SC context | |
0x7fff7917e000 01:22:06.140733193388260 [opensc-pkcs11] reader-pcsc.c:1164:pcsc_detect_readers: Found new PC/SC reader 'Gemalto BLE Dynamic Reader 828c' |
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
[error] found : akka.http.scaladsl.server.RequestContext => scala.concurrent.Future[akka.http.scaladsl.server.RouteResult] | |
[error] required: scala.concurrent.Future[akka.http.scaladsl.server.RouteResult] | |
[error] eitherRejectionAsync( upload( ctx.request ) )( executionContext ) { response: HttpResponse ⇒ |
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
import akka.stream.scaladsl._ | |
import akka.stream._ | |
import scala.util._ | |
import FanInShape._ | |
class EitherMergeShape[L, R]( _init: Init[Either[L, R]] = Name( "EitherMerge" ) ) | |
extends FanInShape[Either[L, R]]( _init ) { | |
val left = newInlet[L]( "left" ) | |
val right = newInlet[R]( "right" ) |
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
/** | |
* Results in a Random 48 bit number represented as a URLSafe Base64 | |
* encoded string | |
*/ | |
object IdGenerator { | |
import java.security.SecureRandom | |
import org.apache.commons.codec.binary.Base64 | |
import scala.annotation.tailrec | |
// Magnus Andersson 26 maj 2013: SecureRandom is thread safe, |
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 akka.http | |
import java.net.InetSocketAddress | |
import akka.http.engine.server.HttpServer.HttpServerPorts | |
import akka.stream.Graph | |
import com.typesafe.config.Config | |
import scala.collection.immutable | |
import scala.concurrent.Future | |
import akka.event.LoggingAdapter | |
import akka.util.ByteString |
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 proxy | |
import scala.concurrent.duration._ | |
import scala.concurrent.Future | |
import akka.io.IO | |
import akka.http.Http | |
import akka.http.Http.OutgoingConnection | |
import akka.stream.scaladsl._ |
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
Could not create file /pipeline/build/target/streams/compile/$global/$global/discoveredMainClasses/datajava.io.IOException: Too many open files | |
at sbt.ErrorHandling$.translate(ErrorHandling.scala:11) | |
at sbt.IO$.touch(IO.scala:131) | |
at sbt.std.Streams$$anon$3$$anon$2.make(Streams.scala:127) | |
at sbt.std.Streams$$anon$3$$anon$2.binary(Streams.scala:114) | |
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:28) | |
at sbt.SessionVar$$anonfun$persist$1.apply(SessionVar.scala:27) | |
at sbt.std.Streams$class.use(Streams.scala:72) | |
at sbt.std.Streams$$anon$3.use(Streams.scala:98) | |
at sbt.SessionVar$.persist(SessionVar.scala:27) |