Skip to content

LICENSE missing from distfile #98

Closed

Description

@0-wiz-0

setup.py contains:

    :copyright: (c) 2014 Markus Unterwaditzer & contributors
    :license: MIT, see LICENSE for more details.

but the LICENSE file is not distributed (at least it's missing in vdirsyncer-0.2.3.tar.gz).

Activity

  1. geier commented on Aug 18, 2014

    @geier
    Member

    I have a feeling that a pkgsrc port is coming... :)

    Quoting Markus Unterwaditzer (2014-08-18 12:35:36)

    Closed #98 via 4af6da4.


    Reply to this email directly or view it on GitHub:
    #98 (comment)

  2. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    @geier I looked up pkgsrc just now... what do you mean? Is somebody going to package vdirsyncer for another distro?

  3. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    I just released a new version (0.2.4). Wanted to do that anyway because there's a fix for Radicale in there too.

  4. geier commented on Aug 18, 2014

    @geier
    Member

    @0-wiz-0 does the pkgsrc ports for pycarddav and vdirsyncer, so I
    suspect he is making a port for vdirsyncer as well

    Quoting Markus Unterwaditzer (2014-08-18 12:44:29)

    @geier I looked up pkgsrc just now... what do you mean? Is somebody going to package vdirsyncer for another distro?


    Reply to this email directly or view it on GitHub:
    #98 (comment)

  5. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Got it, great!

  6. 0-wiz-0 commented on Aug 18, 2014

    @0-wiz-0
    ContributorAuthor

    geier is a good guesser :)
    I've packaged vdirsyncer for pkgsrc, see http://pkgsrc.se/time/py-vdirsyncer.
    I've just updated it to 0.2.4, thanks for the quick fixes & release!

  7. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    You're welcome!

    Some questions though:

    • It seems to me that this is still listing 0.2.3 as the latest version.
    • How are PyPI deps handled with pkgsrc? Are they bundled in one package?
  8. 0-wiz-0 commented on Aug 18, 2014

    @0-wiz-0
    ContributorAuthor

    Yes, the webpage is kept up-to-date by a cronjob, and I don't know when it runs. The package is at 0.2.4 already, though.

    Dependencies are packaged separately, and should be listed on the page. If anything's missing, definitely let me know!

    I have a question for you too: On my first run of vdirsyncer, I got a long backtrace ending in:

    SSLError: [Errno 1] _ssl.c:514: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    

    When I do

    openssl s_client -host myhost -port myport -CAfile .vdirsyncer/cacert.crt
    

    using the same certificate file that's configured for vdirsyncer:

    [general]
    # A folder where vdirsyncer can store some metadata about each pair.
    status_path = ~/.vdirsyncer/status/
    verify = /home/wiz/.vdirsyncer/cacert.crt
    ...
    

    I get

        Verify return code: 0 (ok)
    

    so openssl seems to be happy. Any ideas how to debug this?

  9. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    I don't know which file is required for requests, and I know that this could use some documentation on my part. Seems like a PEM file is required, but I didn't try it.

  10. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Seems like you need to concat all (or some) certs of the trustchain: https://www.digicert.com/ssl-support/pem-ssl-creation.htm

  11. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Ugh, it seems like this is for client-side certificates. I don't use this myself...

  12. 0-wiz-0 commented on Aug 18, 2014

    @0-wiz-0
    ContributorAuthor

    grepping the source code it seems you use requests, requests-toolbelt, and lxml. I've added these as dependencies.
    I've tried concatenating all three certificates, no change.
    "openssl s_client" is still happy when I pass it that file as input.

  13. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    I read that part of the documentation wrongly. It seems like you're supposed to use a CA_BUNDLE path in there, but i don't know what that means.

  14. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    I also use click and icalendar. setup.py contains a list.

  15. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Okay, I figured out how to do the certificate stuff:

    2014-08-18-145552_538x155_scrot

    This is the certificate info in firefox for https://unterwaditzer.net (click on lock-icon, "more information", "view certificate"). You need to export each certificate shown in the tree manually, and then concatenate the exported certs into one file.

  16. 0-wiz-0 commented on Aug 18, 2014

    @0-wiz-0
    ContributorAuthor

    Ok, I tried that. Both in Top-Down and in Bottom-Up order, but I didn't get it working.

  17. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Is your certificate self-signed? Maybe it's still dependent on the global CA bundle.

  18. geier commented on Aug 18, 2014

    @geier
    Member

    Do you use pycarddav with the same server? Does it work there?

    Quoting Markus Unterwaditzer (2014-08-18 15:05:02)

    Is your certificate self-signed? Maybe it's still dependent on the real CA bundle.


    Reply to this email directly or view it on GitHub:
    #98 (comment)

  19. untitaker commented on Aug 18, 2014

    @untitaker
    Member

    Regardless of all this, the current state is not acceptable. See #99

  20. 0-wiz-0 commented on Aug 18, 2014

    @0-wiz-0
    ContributorAuthor

    I use

    insecure_ssl: 1
    

    with pycarddav. It's a CACert-signed certificate (not self-signed).

  21. added a commit that references this issue on Aug 19, 2014
  22. added a commit that references this issue on Oct 11, 2014
  23. added a commit that references this issue on May 11, 2026
  24. added a commit that references this issue on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions