Commit Graph

  • 837bf92cd8 TODO/XXX pointing at needed cleanups Samuele Pedroni 2015-12-02 21:41:11 +01:00
  • 42b976d3d8 rephrase Sign() doc comment, don't allow to pass an empty fingerprint anymore, check for invalid chars in it Samuele Pedroni 2015-12-02 21:35:32 +01:00
  • b8c0a5e472 rename ExportPublicKey to just PublicKey, sanity check the input fingerprint suffix Samuele Pedroni 2015-12-02 21:23:15 +01:00
  • 889a58fa3b s/Wrap/OpenPGP/ s/parse/decode/ Samuele Pedroni 2015-12-02 21:14:22 +01:00
  • 0379b03ba4 ... but put back a newline at end of the signature, which is safe because it will be ignored Samuele Pedroni 2015-12-02 21:04:13 +01:00
  • 9acd927cef Tweak error message Zygmunt Krynicki 2015-12-02 20:57:32 +01:00
  • f1febd5427 rework buffer filling and line splitting in encodeFormatAndData, avoid the final newline Samuele Pedroni 2015-12-02 20:57:10 +01:00
  • 02dd6ec2b0 Simplify error handling in client.Capabilities() Zygmunt Krynicki 2015-12-02 20:55:44 +01:00
  • 4f4e18c08a Merge pull request #216 from chipaca/socket+rw Gustavo Niemeyer 2015-12-02 17:50:41 -02:00
  • fec9581811 Add another test for capability/type attribute validation Zygmunt Krynicki 2015-12-02 20:41:30 +01:00
  • 67da9970bc Remove needless initializer Zygmunt Krynicki 2015-12-02 20:37:44 +01:00
  • 42b8a78f53 Merge remote-tracking branch 'upstream/master' into asserts-db-export-pub-key-and-sign Samuele Pedroni 2015-12-02 20:35:30 +01:00
  • 5e6cb135eb Tweak error message on caps.Type.Validate() Zygmunt Krynicki 2015-12-02 20:23:45 +01:00
  • 2d17399c4a Merge branch 'caps' into caps-type-attrs Zygmunt Krynicki 2015-12-02 20:22:25 +01:00
  • d9a8ddb6f2 Produce useful error messages in client.Capabilities() Zygmunt Krynicki 2015-12-02 20:20:17 +01:00
  • d3685d5f7e Take advantage of client.response.err() as error source Zygmunt Krynicki 2015-12-02 20:13:56 +01:00
  • 704aa37a07 Make client.response.err() return nil for non-error responses Zygmunt Krynicki 2015-12-02 20:13:30 +01:00
  • 96109a925d Merge pull request #213 from mvo5/feature/snap-bin-path Gustavo Niemeyer 2015-12-02 17:11:31 -02:00
  • a721189a4a Rename client.response.processErrorResponse() to .err() Zygmunt Krynicki 2015-12-02 20:11:22 +01:00
  • 33b9552215 Merge pull request #210 from mvo5/refactor/snaps Gustavo Niemeyer 2015-12-02 16:54:28 -02:00
  • f5a4c1ed87 restarting the socket on teardown Federico Gimenez 2015-12-02 18:02:22 +01:00
  • 9881efb7dd stopping the snapd socket too and starting through systemd-activate specifying the socket Federico Gimenez 2015-12-02 17:59:23 +01:00
  • 8a3db25a45 added stop/start of snapd.service Federico Gimenez 2015-12-02 17:46:45 +01:00
  • 52dae701da using systemd-activate with socket Federico Gimenez 2015-12-02 17:40:37 +01:00
  • f4b1a7f919 cleared to make socket world-usable John R. Lenton 2015-12-02 15:54:18 +00:00
  • 335188eeeb Changes to adapt snapd tests to the authorization model Federico Gimenez 2015-12-02 15:29:52 +01:00
  • cee84c1d60 Merge remote-tracking branch 'upstream/master' Michael Vogt 2015-12-02 14:01:35 +01:00
  • 1223f6cd66 Add etc/profile.d/apps-bin-path.sh and install in ubuntuc-snappy-cli Michael Vogt 2015-12-02 13:59:30 +01:00
  • eebeaed0e7 Add locking to caps.Repository.HasType() Zygmunt Krynicki 2015-12-02 12:58:32 +01:00
  • d8070ca800 Implement caps.Repository.HasType() with hasType() Zygmunt Krynicki 2015-12-02 12:54:26 +01:00
  • 030063fd44 Use hasType() when already holding the lock Zygmunt Krynicki 2015-12-02 12:58:16 +01:00
  • ab5ea0216f Add caps.Repository.hasType() Zygmunt Krynicki 2015-12-02 12:53:34 +01:00
  • 746ac1b804 Add locking to caps.Repository.Capability Zygmunt Krynicki 2015-12-02 12:42:42 +01:00
  • ecc2be71b9 Add locking to caps.Repository.Type Zygmunt Krynicki 2015-12-02 12:42:34 +01:00
  • 163fc3a156 Fix test for client.RemoveCapability Zygmunt Krynicki 2015-12-02 12:20:52 +01:00
  • ac5165cd2b Use %q instead of %s when reporting errors Zygmunt Krynicki 2015-12-02 12:05:17 +01:00
  • 08707f0872 Use const where appropriate Zygmunt Krynicki 2015-12-02 12:04:00 +01:00
  • 8ed5c4a4c1 Refresh translation template Zygmunt Krynicki 2015-12-02 11:47:02 +01:00
  • 4044468b25 Add "snap remove-cap" command Zygmunt Krynicki 2015-12-02 11:46:44 +01:00
  • 98b106c0c5 Add client.RemoveCapability() Zygmunt Krynicki 2015-12-02 11:22:40 +01:00
  • 38c141f5e5 Add DELETE /1.0/capabilities/{name} REST API Zygmunt Krynicki 2015-11-25 17:53:49 +01:00
  • 6df0f29a31 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-12-02 11:34:56 +01:00
  • 86242132b4 Merge remote-tracking branch 'upstream/master' into asserts-db-export-pub-key-and-sign Samuele Pedroni 2015-12-02 11:32:18 +01:00
  • 00e0e8cbf8 Merge pull request #203 from mvo5/bugfix/umask-test-failure Samuele Pedroni 2015-12-02 11:31:22 +01:00
  • a293d8b08b improve comment wording Samuele Pedroni 2015-12-02 11:30:02 +01:00
  • fd0009a09e Add caps.Repository.Capability() Zygmunt Krynicki 2015-12-02 11:04:04 +01:00
  • b1310bcd36 use Umask(0) instead of 0002 Michael Vogt 2015-12-02 11:05:05 +01:00
  • 58222e7bd5 Split huge snapp.go into smaller files Michael Vogt 2015-12-02 10:59:16 +01:00
  • a98bbba741 split remote part handling out of snapp.go into snap_remote.go Michael Vogt 2015-12-02 10:46:36 +01:00
  • fd5a1993e8 Merge pull request #194 from mvo5/bugfix/store-is-unhappy John Lenton 2015-12-02 09:34:34 +00:00
  • 60a261c6bf Use golang.org/x/sys/unix instead of syscall for Utimes() Michael Vogt 2015-12-02 09:15:02 +01:00
  • 9ed341c79f Refresh translation template Zygmunt Krynicki 2015-12-02 09:29:17 +01:00
  • 9eafedffed Tweak comment on cmd.snap.AttributePair Zygmunt Krynicki 2015-12-02 09:20:16 +01:00
  • 67611cb069 Use realistic capability in daemon tests Zygmunt Krynicki 2015-12-02 09:18:13 +01:00
  • a3c68dee10 releasing package ubuntu-snappy version 1.7.1ubuntu1 Michael Vogt 2015-12-02 07:49:34 +01:00
  • e85328c84e Merge pull request #207 from mvo5/bugfix/ftbfs-3 John Lenton 2015-12-02 08:10:29 +00:00
  • 1ca866cc2c Replace caps.FileType with caps.BoolFileType with required "path" Zygmunt Krynicki 2015-12-01 19:49:39 +01:00
  • dbffbceb40 Tweak comment in caps.Type.Validate() Zygmunt Krynicki 2015-12-02 08:51:39 +01:00
  • 95ab574f34 Tweak wording on caps.Type.RequiredAttrs Zygmunt Krynicki 2015-12-02 08:51:02 +01:00
  • ae5b5b64b8 Tweak initializer for known capability types Zygmunt Krynicki 2015-12-02 08:35:28 +01:00
  • 0ac0fb5418 Rename caps.Type.SupportedAttrs to RequiredAttrs Zygmunt Krynicki 2015-12-02 08:35:02 +01:00
  • 55e327e17e Trivial golint suggestion Zygmunt Krynicki 2015-12-02 08:30:32 +01:00
  • d8d6106043 Add "snap add-cap" command Zygmunt Krynicki 2015-12-01 14:24:21 +01:00
  • cfd707e25d Add client.AddCapability() Zygmunt Krynicki 2015-11-28 15:37:20 +01:00
  • 55690e2666 Give up on syscall.Utime{,s} and use touch instead Michael Vogt 2015-12-02 08:20:39 +01:00
  • 324bac7c43 Use caps.testType instead of FileType Zygmunt Krynicki 2015-12-01 19:45:16 +01:00
  • 3cfc20ed38 Add support for simple capability attribute validation Zygmunt Krynicki 2015-12-01 19:44:52 +01:00
  • 72c6509fc3 Add caps.Type.SupportedAttrs Zygmunt Krynicki 2015-12-01 18:53:52 +01:00
  • fab35f18c4 Refactor error handling of client.Capabilities() Zygmunt Krynicki 2015-12-01 16:25:40 +01:00
  • c4dbb24acb Add client.response.processErrorResponse() Zygmunt Krynicki 2015-12-02 08:10:53 +01:00
  • 5dc70b7919 Add POST /1.0/capabilities REST API Zygmunt Krynicki 2015-11-25 17:53:19 +01:00
  • 23d7df8a46 Refactor error handling of client.Capabilities() Zygmunt Krynicki 2015-12-01 16:25:40 +01:00
  • 86c0d656c3 Add client.response.processErrorResponse() Zygmunt Krynicki 2015-12-02 08:10:53 +01:00
  • e17483db14 fix test failure with "umask 0022" Michael Vogt 2015-12-02 07:55:52 +01:00
  • 1ea295517d releasing package ubuntu-snappy version 1.7.1ubuntu1 1.7.1ubuntu1 Michael Vogt 2015-12-02 07:49:34 +01:00
  • cb14a8ccb4 Merge pull request #202 from chipaca/bye-bye-go.crypto Michael Vogt 2015-12-02 07:37:32 +01:00
  • 5479a804e7 Merge pull request #198 from mvo5/bugfix/squashfs-dependency Michael Vogt 2015-12-02 07:36:22 +01:00
  • d2eabff0c6 Merge pull request #190 from elopio/master Gustavo Niemeyer 2015-12-02 01:59:33 -02:00
  • 8e5ff35445 Merge pull request #187 from fgimenez/fix-snapd-integration-tests Gustavo Niemeyer 2015-12-02 01:56:07 -02:00
  • 1c2fe7e8be Merge pull request #192 from dholbach/add-config-example Gustavo Niemeyer 2015-12-02 01:55:24 -02:00
  • e97bad97e2 Merge pull request #196 from mvo5/bugfix/armhf-tests Gustavo Niemeyer 2015-12-02 01:48:47 -02:00
  • 09481be4c2 Merge pull request #193 from chipaca/rest-403-not-401 Gustavo Niemeyer 2015-12-02 01:46:11 -02:00
  • b98016883a Merge pull request #200 from zyga/client John Lenton 2015-12-02 00:11:44 +00:00
  • 36dd9e3236 bye bye go.crypto John R. Lenton 2015-12-01 23:49:21 +00:00
  • 56f631bf56 less vague doc comment for EncodePublicKey Samuele Pedroni 2015-12-01 23:21:41 +01:00
  • fb7d9ff948 Use response.Status if the error string is empty Zygmunt Krynicki 2015-12-01 22:49:55 +01:00
  • ba91dd2aed Provide better experience when error handling fails Zygmunt Krynicki 2015-12-01 21:43:52 +01:00
  • 2a4edbb5eb pkgmap->partmap; also override clickdeb.VerifyCmd so test pass without debsig-verify John R. Lenton 2015-12-01 20:55:28 +00:00
  • db82aa8219 Do not activate packages when InhibitHooks is set. Do activate packages on firstboot. John R. Lenton 2015-12-01 17:59:57 +00:00
  • 03d4960dac Merge pull request #199 from zyga/caps Gustavo Niemeyer 2015-12-01 15:30:20 -02:00
  • fb4ffc6853 updated snappy.pot snappy-add-assertion-impl-1 Samuele Pedroni 2015-12-01 18:23:46 +01:00
  • 89ee9e50a8 introduce snappy add-assertion Samuele Pedroni 2015-12-01 18:22:33 +01:00
  • 961d0741a7 initialize the sys db with a trusted key Samuele Pedroni 2015-12-01 18:14:22 +01:00
  • 102ac579d7 Merge remote-tracking branch 'upstream/master' Samuele Pedroni 2015-12-01 17:56:49 +01:00
  • 8368722a68 Merge branch 'asserts-db-export-pub-key-and-sign' Samuele Pedroni 2015-12-01 17:53:28 +01:00
  • 5829a862d8 fix, missing check.Assert() error checks in tests Samuele Pedroni 2015-12-01 17:53:07 +01:00
  • 369c286a7f wip: OpenSysDatabase Samuele Pedroni 2015-12-01 17:43:07 +01:00
  • 5e8664c5be Improve error handling in client.SysInfo() Zygmunt Krynicki 2015-12-01 16:42:50 +01:00
  • 0f492b0717 Add client.errorResult type Zygmunt Krynicki 2015-12-01 16:05:55 +01:00
  • 9d4ca05725 fix build failure on 32 bit arches 1.0.13 Michael Vogt 2015-12-01 16:42:47 +01:00