is_web_request_driver 0.4.0
is_web_request_driver: ^0.4.0 copied to clipboard
intersyntactic's web request driver: sends requests out of the home under the person's sign-ins, holding each sign-in's secret so no tool or record ever sees it.
Changelog #
0.4.0 #
- Renamed from
is_web_driver: the package isis_web_request_driver, andWebDriver,WebDriverServiceandWebDriverSocketareWebRequestDriver,WebRequestDriverServiceandWebRequestDriverSocket.WebDriveris already the W3C name for browser automation. The service readsWEB_REQUEST_DRIVER_SOCKETandWEB_REQUEST_DRIVER_CALLERin place ofWEB_DRIVER_SOCKETandWEB_DRIVER_CALLER. - is_effects ^0.9.0:
carryOutWebRequestreturnsOutcome<WebResponse>(formerlyWebRequestOutcome), and the socket usesencodeWebResponseanddecodeWebResponse. The JSON is unchanged, so a 0.3.0 driver and a 0.4.0 airlock still understand each other.
0.3.0 #
- is_effects ^0.8.0. The API is unchanged, but it takes and returns is_effects types, so it can't share a project with is_effects 0.7. The socket's JSON is byte for byte the same, so a 0.2.0 driver and a 0.3.0 airlock still understand each other.
0.2.0 #
- One web driver and its socket:
SigningWebDriverisWebDriver, the web driver itself, holding the secrets;SocketWebDriverisWebDriverSocket, the airlock's side of the web driver's socket. The old names said there were two kinds of web driver. - is_effects 0.7.0:
CarriesOutWebRequests.carryOutWebRequestreturningWebRequestOutcome(formerlyWebDriver.sendandSent, retired by name), andRequest.pathaWebPath, which cannot name another site. - The driver as its own service (
dart run is_web_driver:service), which answers only the airlock's user, as the kernel reports it for the socket. Each driver is a wall of its own. WebDriverSocketinpackage:is_web_driver/service.dart: the airlock's side, whichCarriesOutWebRequestsand holds no secret.- Why a destination refused reaches the airlock as a word, not a body, since
the record keeps it for good.
WebRequestOutcome.refusedBecauseis the reply field the sign-in's file names inrefusedBecause, such aserror.code. A refused token'sRefusedreason carries OAuth'serrorcode. The whole body is only logged, for whoever runs the driver (WebDriver(log:); the service logs to stdout). createdandrefusedBecauseareReplyFields, paths of keys into a JSON reply, checked when the sign-in's file loads.- The socket speaks is_effects' own JSON for
RequestandOutcome<WebRequestOutcome>, shared with the airlock, in place of this package's own codec. An answer it can't read isRefused, never guessed at.
0.1.0 #
- First release:
SigningWebDriver, theWebDriverfromis_effectsthat holds each sign-in's secret. It signs only for the origins a sign-in's file lists, refuses paths that would leave their origin, and fillsSent.createdfrom the reply field the sign-in names. Credentialand its first kind,ClientCredentials(OAuth 2), loaded one file per sign-in from systemd's$CREDENTIALS_DIRECTORY.